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 также сообщают уровень только после того, как игра уже перевела их в их специальный режим Bluetooth-отчётов.
Это только для Windows?Да, оно создано специально для системного трея Windows и даже подстраивает цвет иконки под тему панели задач (светлую или тёмную).
Как иконка в трее показывает зарядку и низкий заряд?Каждая иконка — кольцо батареи, которое заполняется по часовой стрелке, желтеет возле вашего порога оповещения и краснеет при достижении или ниже него, а во время зарядки устройства зелёно «дышит» (дыхательную анимацию можно отключить).
Могут ли другие приложения читать данные о батарее, которые собирает HaloBattery?Да, включение «Status file for other apps» пишет status.json в %APPDATA%\HaloBattery с именем, уровнем, состоянием зарядки и другими данными каждого устройства — полезно для Rainmeter, плагина Stream Deck или собственного скрипта.
Что делать, если моё устройство определяется неправильно?Запустите probe.bat или выберите Diagnostics в меню трея, чтобы создать отчёт со списком всех HID-устройств и их сырых ответов протокола, затем приложите его к GitHub issue, чтобы поддержку добавили.
Оценивает ли оно оставшееся время работы от батареи?Да, когда устройство использовалось минимум 30 минут и разрядилось на 3%, всплывающая подсказка показывает оценку вроде «осталось около 5 ч работы», рассчитанную по скорости разряда с последней зарядки.
Автор
HeyOkay
Размер
23.3 MB
Звёзды
802
Возраст
2 мес
Коммиты · 90 дней