# krisgfx9/wireless-device-battery-monitor

> wireless-device-battery-monitor is a Windows 10/11 taskbar app that shows the battery level of wireless mice, headsets, keyboards and controllers. It reads battery levels directly from each device, so no vendor software is needed, and it draws the levels as text next to the notification area. The project is written in C++ on Win32.

Source: https://github.com/krisgfx9/wireless-device-battery-monitor
Indexed: commit 132a40d on 2026-11-18 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Language: C++
- Stars: 5,781 at index time
- License: GPL-3.0
- Code health: 5.9/10, Fair
- Last commit: 2026-11-18
- Contributors: 95

## How it works

Each vendor driver in src/drivers/ recognises its devices by USB vendor and product ID and sends only read-only battery queries. Unknown devices are never written to. The generic fallbacks (HID battery usage, Bluetooth, XInput, HeadsetControl) only handle devices that no vendor driver has claimed. The program starts at src/main.cpp, the single entry point. The taskbar display is a layered child window of Shell_TrayWnd, placed left of TrayNotifyWnd, and its code is in src/widget.cpp. The tests/ directory holds 23 files, and .github/workflows/build.yml defines the build workflow.

- src/main.cpp: entry point
- .github/FUNDING.yml: central file
- .github/pull_request_template.md: central file
- .github/workflows/build.yml: central file
- .github/workflows/pr-safety.yml: central file
Modules: src, tests, root, scripts. 129 files, 15,341 lines, 1,167 symbols.

## Code health

- Score: 5.9/10 (Fair)
- Rank: #206 of 4,000+ indexed repos
- Hotspots: src/widget.cpp, src/main.cpp, src/drivers/misc_mice.cpp, src/drivers/razer_headset.cpp, src/drivers/logitech.cpp
- Lowest file: src/drivers/misc_mice.cpp
- Dead code: none found

## Maintenance

- Last commit 2026-11-18, first commit 2026-11-16, 222 commits
- 95 contributors, bus factor 5

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/krisgfx9/wireless-device-battery-monitor/security

## More

- Page: https://repowise.dev/repo/krisgfx9/wireless-device-battery-monitor
- Ask this codebase: https://repowise.dev/repo/krisgfx9/wireless-device-battery-monitor/chat
- Docs: https://repowise.dev/repo/krisgfx9/wireless-device-battery-monitor/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/krisgfx9/wireless-device-battery-monitor
