AirBattery: 隔空查看苹果设备电量的 Mac 工具

2025年10月04日 03:17:31
36027
macos mac工具
AirBattery lihaoyun6/AirBattery

一款专为 macOS 设计的电量监控工具,能在 Mac 菜单栏实时显示 iPhone、iPad、AirPods 和 Apple Watch 等设备的电池电量。无需在 iOS 端安装任何 App,即可在电脑端查看设备当前电量、充电状态,并支持低电量提醒。

项目大小 11.37 KB
涉及语言 Swift 96.83% C 1.38% Shell 1.15% Rich Text Format 0.64%
许可协议 LICENSE
仓库同步说明
  • • 同步需要仓库写入权限以创建目标仓库
  • • 使用平台账号授权登录后将同步到您平台下的个人仓库

AirBattery

Get battery usage of all devices on Mac and show them on the Dock / StatusBar / Widgets!
[中文版本]
[Landing Page]

Screenshots

QuickRecorder Screenshots

Installation and Usage

System Requirements:

  • macOS 11.0 and Later

Installation:

Download the latest installation file here or install via Homebrew:

1
brew install lihaoyun6/tap/airbattery

Usage:

  • 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)

  • AirBattery will automatically search for all devices supported by the “Nearbility Engine” without manual configuration.

  • Click the Dock icon / status bar icon, or add a widget to view the battery usage of your devices.

  • You can also use the “Nearcast” feature to check the battery usage of other Macs and their peripherals in the LAN at any time.

  • 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.

  • If necessary, you can hide certain devices in the Dock menu or status bar menu, and unhide them at any time.

Q&A

1. Why is my iPhone / iPad / Apple Watch not showing up?

Please make sure the iPhone / 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.

2. Does my Apple Watch need to be pre-connected?

No, when AirBattery detects a paired iPhone via WiFi or U**, 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!)

3. Why do some device name have a ⚠️ symbol?

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.

4. My iPhone is not connected to WiFi, can I get the battery info?

Please install AirBattery v1.1.2 or higher, enable the iPhone / iPad(Cellular) over BT in the preferences, and keep the device’s Bluetooth turned on (Only supports iPhone or cellular iPad!)

5. Why does AirBattery need Bluetooth permission?

AirBattery needs Bluetooth to capture packets from peripheral devices in order to parse their battery information.

Donate

Thanks

libimobiledevice @libimobiledevice

AirBattery uses executable files and runtime libraries compiled from libimobiledevice based on version 73b6fd1. Feel free to compile and replace them if in doubt.

comptest @nikias

AirBattery uses executable files compiled based on this source code. Feel free to compile and replace them if in doubt.

MultipeerKit @insidegui

AirBattery uses MultipeerKit for symmetric multi-end communication within the LAN

ChatGPT @OpenAI

Some of the code in this project is generated or refactored by ChatGPT.


                

                

免责声明 © 2026 - 虚宝阁

本站部分源码来源于网络,版权归属原开发者,用户仅获得使用权。依据《计算机软件保护条例》第十六条,禁止:

  • 逆向工程破解技术保护措施
  • 未经许可的分发行为
  • 去除源码中的原始版权标识

※ 本站源码仅用于学习和研究,禁止用于商业用途。如有侵权, 请及时联系我们进行处理。

侵权举报请提供: 侵权页面URL | 权属证明模板

响应时效:收到完整材料后48小时内处理

相关推荐

scira: AI 驱动搜索引擎

scira: AI 驱动搜索引擎

极简的 AI 驱动搜索引擎,支持引用来源

10827 2025-10-20
Seelen-UI: 高度可定制的 Windows 桌面美化工具

Seelen-UI: 高度可定制的 Windows 桌面美化工具

一款免费开源的 Windows 桌面增强工具,专注于高度自定义和效率提升。它采用 Rust 语言开发,结合 Tauri 框架与 Web 技术,支持窗口平铺管理、应用启动器、Dock、任务栏、动态壁纸、插件扩展等功能。

13691 2025-10-04
presenton AI PPT 生成器

presenton AI PPT 生成器

一个免费的、能完全在你自己电脑上运行的 AI PPT 生成工具。和那些必须联网、依赖服务商云服务的工具不同,Presenton 的核心优势在于本地优先和开放可控。 你的数据你做主, 所有生成演示文稿的过程都在你的电脑上完成。这意味着你的内容创意、上传的文件等敏感信息,无需上传到第三方云端服务器,隐私更有保障。自由选择AI模型,它不绑定任何一家 AI 服务商。你可以灵活选择。

2412 2025-09-14
YOLOv8-目标检测界的闪电侠

YOLOv8-目标检测界的闪电侠

YOLO系列的最新版,主打“又快又准”的目标检测。能瞬间识别图片/视频里的人、车、动物、物体,在普通显卡上就能实时处理视频流,工业级场景都在用它。

47034 2025-09-13
Stable Diffusion AI绘画界的 扛把子

Stable Diffusion AI绘画界的 扛把子

提到AI画图,没人能绕开Stable Diffusion!由Stability AI开源,支持文本生成图像、图像修复、风格迁移,关键是完全免费商用(非商用更没问题),普通电脑装个WebUI就能玩到飞起。

41831 2025-09-13
Claudable:基于 Next.js 框架的网站生成器

Claudable:基于 Next.js 框架的网站生成器

把你用自然语言描述的应用想法,直接变成可以运行的网站代码。Claudable 背后依赖强大的 AI 编程助手,主要是 Claude Code,也支持 Cursor CLI 来理解你的需求并生成代码。你不需要懂复杂的 API 设置、数据库配置或者部署流程:用简单的语言告诉 Claudable 你想要什么应用。

2525 2025-09-15
pydoll: 无需 WebDriver 的浏览器自动化 Python 库

pydoll: 无需 WebDriver 的浏览器自动化 Python 库

用于自动化操作 Chromium 内核浏览器的 Python 库。它通过原生 DevTools 协议(CDP)直接控制浏览器,无需依赖 WebDriver,支持绕过验证码、模拟真人交互、网页截图等功能。

5623 2025-10-04
ohmyzsh: 终端美化神器

ohmyzsh: 终端美化神器

Oh My Zsh是开源的Zsh配置管理器,装完终端瞬间变好看,还有自动补全、命令高亮、快捷别名,比如输“git st”就能代替“git status”,程序员敲命令快到飞起。 主要功能: 终端美化(支持几百个主题,比如经典的agnoster);命令自动补全(输一半按Tab自动补全);命令高亮(正确命令绿色,错误命令红色);快捷别名(自定义命令缩写,比如“ll”代替“ls -l”);插件扩展(比如git插件加很多git快捷命令)。

181910 2025-09-16
ConvertX-自托管的在线文件转换工具

ConvertX-自托管的在线文件转换工具

一个开源的在线文件格式转换工具,支持超过 1000 种主流文档、图片、音视频等多类型文件格式,不依赖第三方服务。它即装即用、操作便捷,并提供文件夹批量处理、实时进度条显示等功能。

8500 2025-09-13
DeepFaceLab

DeepFaceLab

换脸圈的“老大哥”,开源界扛把子,功能强到离谱。不管是图片换脸、长视频换脸,还是修复模糊人脸,它都能搞定。网上很多高质量换脸视频都出自它手,但毕竟是专业级选手,上手难度稍高,得花点时间研究流程,学会了就能玩出花。

18651 2025-09-14

仓库下载

gitee

GitHub 下载代理

文件信息

文件名
文件大小
文件类型
代理耗时