{"id":26542336,"url":"https://github.com/5j54d93/mac-battery-inspector","last_synced_at":"2025-03-22T02:16:40.955Z","repository":{"id":174131527,"uuid":"651816678","full_name":"5j54d93/Mac-Battery-Inspector","owner":"5j54d93","description":"A macOS app develop with SwiftUI in MVVM that could inspect mac's battery info.","archived":false,"fork":false,"pushed_at":"2023-06-24T13:05:19.000Z","size":45938,"stargazers_count":17,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-20T22:42:58.241Z","etag":null,"topics":["applesmartbattery","battery","darkmode","iokit","iopscopypowersourcesinfo","mac","macos","menubarextra","mvvm","swift","swiftui"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/5j54d93.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"custom":["paypal.me/5j54d93","ethereum/0xf43b3B8B734A9aD9B9e18DBf1882053CC6D623de"]}},"created_at":"2023-06-10T07:22:17.000Z","updated_at":"2024-05-02T14:21:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"2efd023c-aa0e-4a50-8c56-5c3e2ffb241a","html_url":"https://github.com/5j54d93/Mac-Battery-Inspector","commit_stats":{"total_commits":31,"total_committers":2,"mean_commits":15.5,"dds":"0.032258064516129004","last_synced_commit":"1fa259ff2b1a38d7685153dcd31cfae1588c7a23"},"previous_names":["5j54d93/mac-battery-inspector"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5j54d93%2FMac-Battery-Inspector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5j54d93%2FMac-Battery-Inspector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5j54d93%2FMac-Battery-Inspector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5j54d93%2FMac-Battery-Inspector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/5j54d93","download_url":"https://codeload.github.com/5j54d93/Mac-Battery-Inspector/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244894308,"owners_count":20527678,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["applesmartbattery","battery","darkmode","iokit","iopscopypowersourcesinfo","mac","macos","menubarextra","mvvm","swift","swiftui"],"created_at":"2025-03-22T02:16:40.452Z","updated_at":"2025-03-22T02:16:40.945Z","avatar_url":"https://github.com/5j54d93.png","language":"Swift","funding_links":["paypal.me/5j54d93","ethereum/0xf43b3B8B734A9aD9B9e18DBf1882053CC6D623de"],"categories":[],"sub_categories":[],"readme":"# Mac Battery Inspector\n\n[![GitHub license](https://img.shields.io/github/license/5j54d93/Mac-Battery-Inspector)](https://github.com/5j54d93/Mac-Battery-Inspector/blob/main/LICENSE)\n![GitHub watchers](https://img.shields.io/github/watchers/5j54d93/Mac-Battery-Inspector)\n![GitHub Repo stars](https://img.shields.io/github/stars/5j54d93/Mac-Battery-Inspector)\n![GitHub forks](https://img.shields.io/github/forks/5j54d93/Mac-Battery-Inspector)\n![GitHub repo size](https://img.shields.io/github/repo-size/5j54d93/Mac-Battery-Inspector)\n![Platform](https://img.shields.io/badge/platform-macOS-lightgrey)\n\nA macOS app develop with SwiftUI in MVVM that could inspect many mac's battery info.\n\n\u003cimg src=\"https://github.com/5j54d93/Mac-Battery-Inspector/blob/main/.github/Assets/main.png\" width='100%' height='100%'/\u003e\n\n## Overview\n\n1. [**HighLight**](https://github.com/5j54d93/Mac-Battery-Inspector#highlight)\n2. [**Screen Saver**](https://github.com/5j54d93/Mac-Battery-Inspector#screen-saver)\n3. [**Row Data**](https://github.com/5j54d93/Mac-Battery-Inspector#row-data)\n4. [**MenuBarExtra**](https://github.com/5j54d93/Mac-Battery-Inspector#menubarextra)\n5. [**Dark Mode**](https://github.com/5j54d93/Mac-Battery-Inspector#dark-mode)\n6. [**License**](https://github.com/5j54d93/Mac-Battery-Inspector#licensemit)\n\n## HighLight\n\nMain View highlights some important information of mac's battery. Including：\n- **Temperature**：in Celsius\n- **Time Remaining**：time to fully charge or time to run out\n- **Adapter Detail**：some important information of power adapter\n- **Battery**：Remain percentage\n- **Cycle Count**：max cycle count for a battery life is 1000\n- **Battery Health**\n\nWhen mac is start/stop charging, HighLight view will show/hide adapter detail with animation.\n\n\u003cimg src=\"https://github.com/5j54d93/Mac-Battery-Inspector/blob/main/.github/Assets/MainDemo.gif\" width='100%' height='100%'/\u003e\n\n## Screen Saver\n\nA view includes 100 blocks to represent current capacity.\n\n\u003cimg src=\"https://github.com/5j54d93/Mac-Battery-Inspector/blob/main/.github/Assets/ScreenSaver.png\" width='100%' height='100%'/\u003e\n\n## Row Data\n\nThis view shows all data from `IOPSCopyPowerSourcesInfo` and `AppleSmartBattery` without doing any transformation.\n\n\u003cimg src=\"https://github.com/5j54d93/Mac-Battery-Inspector/blob/main/.github/Assets/RowData.png\" width='100%' height='100%'/\u003e\n\nAnd this page also support searching. Search result will highlight what user search in geeen.\n\n\u003cimg src=\"https://github.com/5j54d93/Mac-Battery-Inspector/blob/main/.github/Assets/SearchResult.png\" width='100%' height='100%'/\u003e\n\n## MenuBarExtra\n\nMenuBarExtra will always appear on top right of mac's menu bar unless \"Mac Battery Inspector\" is been quited. \n\n\u003cimg src=\"https://github.com/5j54d93/Mac-Battery-Inspector/blob/main/.github/Assets/MenuBarExtra.png\" width='100%' height='100%'/\u003e\n\n## Dark Mode\n\n\"Mac Battery Inspector\" also support dark mode！User could select mode on top right of tool bar for \"Mac Battery Inspector\" to follow system's preference or user's preference.\n\n\u003cimg src=\"https://github.com/5j54d93/Mac-Battery-Inspector/blob/main/.github/Assets/DarkMode.png\" width='100%' height='100%'/\u003e\n\n## License：MIT\n\nThis package is [MIT licensed](https://github.com/5j54d93/Mac-Battery-Inspector/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5j54d93%2Fmac-battery-inspector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F5j54d93%2Fmac-battery-inspector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5j54d93%2Fmac-battery-inspector/lists"}