Skip to content
catninthPublic

About

Battery levels of your wireless devices in the Windows taskbar

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

67 Commits

Folders and files

Repository files navigation

NapCat

Battery levels of your wireless devices, right in the Windows taskbar.

Each device gets its own tray icon: the device glyph surrounded by a ring that shows the charge level, with a lightning badge while charging. Written in Rust on plain Win32, Direct2D and WinRT: no WebView, no UI framework, and practically zero CPU when idle.

NapCat tray icon styles: ring, percent, badge and bar on dark and light taskbars

Early development. Windows 10 and 11.

Screenshots · Status · Building · Full gallery

Screenshots

NapCat flyout panel with device levels, charging state, time estimates and a low-battery alert
Flyout panel
Click the tray icon: every device with its level, charging state, time estimate and low-battery alert.
NapCat flyout panel in grid view, light theme
Grid view
The same panel as tiles, here with the light theme.
NapCat devices page for removing, retyping and adding devices
Devices
Remove, retype or add devices, including ones Windows detects but NapCat has no protocol for.
NapCat rich tooltip
Tooltip
Hover a tray icon for the details.

NapCat flyout panel, light theme
Light theme
Follows Windows, or pick dark or light in settings.

The settings page has the language (English by default, Hungarian built in), shows the version and installs updates with one click. Screenshots show the English UI with simulated devices; the full gallery has every image and capture details.

Status

Feature
Tray icons (one per device or one for the most urgent), ring / percent / badge / bar styles done
Flyout panel, rich tooltip, settings window, Devices page (add, remove, reorder, type) done
English and Hungarian UI (follows the Windows display language, or pick one in settings) done
Toast notifications (low battery with snooze, fully charged), quiet mode in full screen done
Time estimates from level history done
Installer (Inno Setup), auto-update from GitHub Releases via catninth/updater done
PlayStation controllers (DualSense, DualSense Edge, DualShock 4; USB and Bluetooth) done, tested with DualShock 4 over USB
Compx receivers (VGN, ATK, VXE mice) done, tested with VGN Dragonfly
MCHOSE mice (A7 V2 Pro/Pro+/Ultra/Ultra+; cable and receiver) done, tested with A7 V2 Ultra+ on the 8K receiver
Xbox controllers (XInput, approximate level) done, untested on hardware
Logitech HID++ 2.0 (Unifying, Bolt, Lightspeed, wired) done, untested on hardware
Bluetooth battery (Windows battery property) done, untested on hardware
SteelSeries headsets (Arctis Nova 7 / 7 Gen 2 / 7X / 7P, Nova 5, Nova 3P/3X Wireless, Nova Pro Wireless, Arctis 7+, Arctis 1/7/9, Pro Wireless, GameBuds) done, untested on hardware
SteelSeries mice (Aerox 3/5/9 Wireless, Prime Wireless, Prime Mini Wireless, Rival 3 Wireless, Rival 650; cable and receiver) done, untested on hardware
Other headsets, Razer, BLE GATT planned

Building

Requires the Rust MSVC toolchain and, for the installer, Inno Setup 6.

cargo build --release                # target\release\napcat.exe (run it directly, no install needed)
cargo test --release                 # tests; also renders icon previews to target\*.png
iscc installer\napcat.iss            # installer -> target\installer\NapCat-Setup-<version>.exe

.github/workflows/build.yml builds, tests and packages the installer on every push and on manual runs (the exe and installer are attached to the run as an artifact). Releases are built by .github/workflows/release.yml when a v* tag is pushed; the tag must match the version in Cargo.toml.

Tools

  • tools/diag – lists HID interfaces, Bluetooth battery properties and standard HID battery usages; via sends read-only VIA queries, listen passively logs vendor-defined reports.
  • tools/webhid-logger.js – paste into the DevTools console of a vendor's web driver to log its WebHID traffic (used to find battery commands).

About

Battery levels of your wireless devices in the Windows taskbar

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages