HaloBattery README

项目的 README,来自 github.com/HeyOkay/HaloBattery。合并为一个 markdown 文件:README.md。

Website English · Русский · 简体中文 Code signing Total release asset downloads

Halo Battery — wireless battery monitoring for Windows

See your wireless devices’ battery levels in the Windows tray.

A ring for your mouse, keyboard, headset and controller, each with its own low-battery alert.

Download the stable release for Windows  Browse pre-release builds
Windows 10 / 11 · x64 · Installer and portable ZIP

Support project via  Support Halo Battery on Ko-fi  Donate to Halo Battery with PayPal

Hovering across the HaloBattery tray icons shows the battery reading for each device.

Features

Mouse at 100%, charging keyboard at 65%, headset at 25%, and controller at 10%

The app supports 11 interface languages. It uses the Windows display language on first launch. You can change it in Settings.

Device settings

Hover over a tray icon to see the charge and, once enough discharge history is available, the estimated time left. Double-click to open that device in Settings. Give it a recognizable name, choose its pictogram and set the battery level that should trigger an alert.

Devices in Settings, showing battery levels and per-device controls

Install

Choose the stable release above, then pick a file under Assets. To try upcoming fixes, choose the newest entry marked Pre-release in the release list. Test builds may have bugs.

Package Getting started
HaloBattery-<version>-setup.exe Recommended. Run the installer for your Windows account. It adds a Start menu entry and needs no administrator rights.
HaloBattery-<version>.zip Extract the entire archive to its own folder. Keep _internal beside HaloBattery.exe, then launch the executable.

To verify your download, compare its SHA-256 hash with the entry in SHA256SUMS.txt from the same release.

Features and settings · Portable mode · Run from source

Supported devices

Mice, keyboards, headsets and controllers over a 2.4 GHz receiver, a USB cable or Bluetooth. See the full list → It shows the connection and whether each device has been tested on real hardware.

Add your device

Is your device not detected, or does it show a wrong level? Send a diagnostics report. It takes about a minute:

  1. Close the maker's software (Synapse, G HUB, the web driver and similar) and wake the device up (move the mouse, press a key).

  2. Right-click a Halo Battery icon and select Diagnostics. The "No devices found" icon has this item too.

    The tray menu of a device, with the Diagnostics item marked
  3. Halo Battery opens diagnostics.txt in your default app for text files. Open an issue, write the device name and how it is connected (receiver, cable or Bluetooth), and drag the file into the comment box. By default the file is in %APPDATA%\HaloBattery. In portable mode it is beside the executable.

The report contains Bluetooth MAC addresses and device serial numbers. You can replace them with xx before you post. CONTRIBUTING.md explains the report, how to record a USB capture of the maker's app, and how to open a pull request.

Troubleshooting
  1. Close Synapse, the WLmouse web driver and other battery tools: they may hold the receiver.
  2. Wake the mouse up by moving it.
  3. If the battery level still does not appear and the device uses a USB receiver, unplug the receiver and plug it back in.
  4. Choose Diagnostics from the tray menu and send the report as Add your device tells you.
  5. "python312.dll was not found", or Start with Windows says the app runs from a temporary folder: the app was started straight from the ZIP, or only HaloBattery.exe was copied out of it. Extract the whole ZIP to a folder of its own and run HaloBattery.exe from there.

Settings, the log and the diagnostics report live in %APPDATA%\HaloBattery (in the app's own folder in portable mode). The data folder: line near the top of the diagnostics report shows the active folder.

Community

Contribute to the project · Join the Discord community

Credits

Device protocols come from OpenRazer, HeadsetControl, Solaar, rivalcfg, G-Helper and other open projects, and from captures and test runs sent by the community. Full credits →

MIT licensed, see LICENSE. Code-signing policy.

Privacy

HaloBattery (HeyOkay/HaloBattery)

正在搜索数据库…

这是什么?HaloBattery 是一个 Windows 托盘应用,显示无线鼠标、键盘、耳机和手柄的电量,给每台设备一个独立的图标,省得你安装各厂商自己的软件。
用它需要装 Python 吗?不需要——推荐的 .exe 可以独立运行,不用装任何厂商软件;只有当你改从源码运行这个项目时才需要 Python 3.10+。
它对所有无线鼠标、耳机或手柄都有效吗?支持情况因设备而异:README 把型号标成 yes(在真实硬件上实际看到过电量)、likely(与已验证的姊妹型号用同一套代码)或 no(从其他工具的代码移植而来,从未测试);另外一些 PS4/PS5 和 8BitDo 手柄,要等游戏把它们切进各自的特殊蓝牙报告模式后才会报电量。
它只支持 Windows 吗?是的,它是专门为 Windows 系统托盘做的,连任务栏主题(浅色或深色)都会匹配来决定图标颜色。
托盘图标怎么显示充电和低电量?每个图标都是一个顺时针填充的电量圆环,接近你设的警报阈值时变成琥珀色,达到或低于阈值时变成红色,设备充电时呈绿色呼吸效果(呼吸动画可以关掉)。
其他应用能读到 HaloBattery 收集的电量数据吗?能,启用“Status file for other apps”后,会在 %APPDATA%\HaloBattery 下写一个 status.json,里面有每台设备的名称、电量、充电状态等信息,对 Rainmeter、Stream Deck 插件或自定义脚本都很有用。
我的设备没被正确识别怎么办?运行 probe.bat,或在托盘菜单里选 Diagnostics,生成一份列出每个 HID 设备及其原始协议应答的报告,然后把它附到 GitHub issue 上,请求添加支持。
它会估算剩余电量使用时间吗?会,设备累计使用至少 30 分钟且电量掉了 3% 之后,工具提示会显示一个类似“还能用约 5 小时”的估算,依据是它自上次充电以来的掉电速度。
作者
HeyOkay
大小
23.3 MB
星标
802
时长
2个月
提交 · 90 天