[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7072":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":16,"starSnapshotCount":16,"syncStatus":19,"lastSyncTime":29,"discoverSource":30},7072,"AirBattery","lihaoyun6\u002FAirBattery","lihaoyun6","Get the battery usage of all your devices on your Mac and put them on the Dock \u002F Menu Bar \u002F Widget! && 在Mac上获取你所有设备的电量信息并显示在Dock \u002F 状态栏 \u002F 小组件上!","https:\u002F\u002Flihaoyun6.github.io\u002Fairbattery\u002F",null,"Swift",2838,109,8,106,0,9,35,2,28.12,"GNU Affero General Public License v3.0",false,"main",true,[],"2026-06-12 02:01:34","# \n\u003Cp align=\"center\">\n\u003Cimg src=\".\u002FAirBattery\u002FAssets.xcassets\u002FAppIcon.appiconset\u002Ficon_128x128@2x.png\" width=\"200\" height=\"200\" \u002F>\n\u003Ch1 align=\"center\">AirBattery\u003C\u002Fh1>\n\u003Ch3 align=\"center\">Get battery usage of all devices on Mac and show them on the Dock \u002F StatusBar \u002F Widgets!\u003Cbr>\u003Ca href=\".\u002FREADME_zh.md\">[中文版本]\u003C\u002Fa>\u003Cbr>\u003Ca href=\"https:\u002F\u002Flihaoyun6.github.io\u002Fairbattery\u002F\">[Landing Page]\u003C\u002Fa>\u003C\u002Fh3> \n\u003C\u002Fp>\n\n## Screenshots\n\u003Cp align=\"center\">\n\u003Cpicture>\n  \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\".\u002Fimg\u002Fpreview_dark.png\">\n  \u003Csource media=\"(prefers-color-scheme: light)\" srcset=\".\u002Fimg\u002Fpreview.png\">\n  \u003Cimg alt=\"QuickRecorder Screenshots\" src=\".\u002Fimg\u002Fpreview.png\" width=\"840\"\u002F>\n\u003C\u002Fpicture>\n\u003C\u002Fp>\n\n## Installation and Usage\n### System Requirements:\n- macOS 11.0 and Later  \n\n### Installation:\nDownload the latest installation file [here](..\u002F..\u002Freleases\u002Flatest) or install via Homebrew:  \n\n```bash\nbrew install lihaoyun6\u002Ftap\u002Fairbattery\n```\n\n### Usage: \n- After AirBattery is started, it will be displayed on both the Dock and the status bar by default, or only one of them (can be configured)  \n\n- AirBattery will automatically search for all devices supported by the **\"Nearbility Engine\"** without manual configuration.  \n- Click the Dock icon \u002F status bar icon, or add a widget to view the battery usage of your devices.  \n- You can also use the **\"Nearcast\"** feature to check the battery usage of other Macs and their peripherals in the LAN at any time.  \n- You can also change the status bar icon to a real-time battery icon in preferences, just like the one that comes with the system.  \n- If necessary, you can hide certain devices in the Dock menu or status bar menu, and unhide them at any time.  \n\n## Q&A\n**1. Why is my iPhone \u002F iPad \u002F Apple Watch not showing up?**\n> Please make sure the iPhone \u002F iPad has trusted this Mac ***(and connected the Mac with a data cable at least once while AirBattery is running to pair)***. Then just make sure it is on the same LAN as the Mac.  \n\n**2. Does my Apple Watch need to be pre-connected?**\n> No, when AirBattery detects a paired iPhone via WiFi or USB, it will automatically read the battery data of the Apple Watch paired with it **(iPhone discovered via Bluetooth does not support reading the watch battery!)** \n\n**3. Why do some device name have a ⚠️ symbol?**\n> If this symbol appears, it means that the device has not updated its battery information for more than ten minutes, and may be offline or turned off.  \n\n**4. My iPhone is not connected to WiFi, can I get the battery info?**\n> Please install AirBattery v1.1.2 or higher, enable the **`iPhone \u002F iPad(Cellular) over BT`** in the preferences, and keep the device's Bluetooth turned on ***(Only supports iPhone or cellular iPad!)***  \n\n**5. Why does AirBattery need Bluetooth permission?**\n> AirBattery needs Bluetooth to capture packets from peripheral devices in order to parse their battery information.  \n\n## Donate\n\u003Cimg src=\".\u002Fimg\u002Fdonate.png\" width=\"350\"\u002F>\n\n## Thanks\n[libimobiledevice](https:\u002F\u002Fgithub.com\u002Flibimobiledevice\u002Flibimobiledevice) @libimobiledevice  \n> AirBattery uses executable files and runtime libraries compiled from libimobiledevice based on version `73b6fd1`. Feel free to compile and replace them if in doubt.\n\n[comptest](https:\u002F\u002Fgist.github.com\u002Fnikias\u002Febc6e975dc908f3741af0f789c5b1088) @nikias  \n> AirBattery uses executable files compiled based on this source code. Feel free to compile and replace them if in doubt.  \n\n[MultipeerKit](https:\u002F\u002Fgithub.com\u002Finsidegui\u002FMultipeerKit) @insidegui  \n> AirBattery uses MultipeerKit for symmetric multi-end communication within the LAN  \n\n[ChatGPT](https:\u002F\u002Fchat.openai.com) @OpenAI  \n> Some of the code in this project is generated or refactored by ChatGPT.  \n","AirBattery 是一款在Mac上显示所有设备电量信息的应用，支持通过Dock、状态栏或小组件展示。它利用Swift编写，并基于“Nearbility Engine”技术自动搜索并显示连接设备的电量情况，无需手动配置。用户还可以使用“Nearcast”功能随时检查局域网内其他Mac及其外设的电池状态。此外，AirBattery允许自定义显示选项，比如更改状态栏图标样式或隐藏特定设备的信息。这款工具非常适合需要同时管理多个苹果生态设备（如iPhone, iPad, Apple Watch等）的用户，在日常办公或家庭环境中尤为实用。","2026-06-11 03:10:24","top_language"]