A .NET 8 Windows system tray application that monitors battery levels for Bluetooth devices.
- Per-device system tray icons with battery level indicators (full, good, medium, low, empty)
- Supports Bluetooth LE (GATT Battery Service), Bluetooth Classic (HFP via CfgMgr32), and Windows device property fallback
- WebView2 configuration dialog for selecting which paired devices to monitor
- Device configuration persisted in Windows Registry (
HKCU\SOFTWARE\JPIT\BluetoothBatteryMonitor) - Automatic device connect/disconnect detection via DeviceWatcher with periodic state verification
- DPI-aware with icon refresh on display/session changes (including RDP reconnect)
- Single-instance enforcement
On first launch, a sentinel battery icon appears in the tray. Right-click it and select Configuration to choose which paired Bluetooth devices to monitor. Selected devices will each get their own tray icon showing battery status.
- Right-click any tray icon for status info, configuration, or to exit
- Double-click any device icon to open Windows Bluetooth settings
--listdevicesflag: shows all paired Bluetooth devices in a dialog and exits
- .NET 8 SDK
- Node.js
- GNU Make
- .NET 8 Desktop Runtime — download
- WebView2 Runtime — included with Windows 11; download for Windows 10
- Windows 10 build 19041 or later
make # full build: frontend + .NET publish
make clean # remove all build artifactsOutput: release/BluetoothBatteryMonitor.exe