RepositoryRust
ferloom

ferloom/Wireless-Device-Battery-Monitor

BatteryHub - Rewritten in Rust

1.1ksao
109fork
66issue
1lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: battery

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: dualsense

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: logitech

#1 Repository của tuần

BatteryHub icon

BatteryHub v1.5

An ultra-lightweight Rust implementation of BatteryHub for Windows.
Battery levels of your wireless mouse, headset, keyboard and controller, right on the taskbar,
in about 0.2 MB of RAM.

Latest release CI Written in Rust GPL-3.0

Hover card: Logitech PRO 2 LIGHTSPEED, 80%, level bar, Logitech receiver, chart of the last 24 hours
BatteryHub on the Windows 11 taskbar next to the notification area: headset 88%, mouse 80%

[!IMPORTANT] This is a recode of krisgfx9/Wireless-Device-Battery-Monitor (the C++ BatteryHub by krisgfx9), not a fork and not the original. It rewrites the original in Rust. The idea, the look of the taskbar strip and the device protocols all come from the original project, and the credit for them goes to its authors.

The original is currently unavailable on GitHub. On 22 November 2026 the krisgfx9 account was suspended by GitHub, which took the original repository offline with it. According to the original author, no reason was given; they have appealed, so the original may come back. Until then, the original author shares downloads through the project's Discord.

This recode is still not the original, but it is supported and will stay supported: it keeps being developed and updated, with new devices added from device requests.

Developed by @ferloom with the help of Claude (AI).


Contents

Download · Problem with a new version? · Features · Using it · Setup · Resource usage vs. the original · Taskbar compatibility · Supported devices · Unsupported devices · Testing · Building · License

Download

Get BatteryHub-Taskbar-Setup-v1.5.exe from the latest release, run it and choose [1] Install.

  • No administrator rights needed (per-user install).
  • Already installed? Use Check for updates... in the right-click menu, or run the new setup and choose [2] Update.
  • It does not interfere with the original C++ BatteryHub if you have that installed too.
  • Windows may show a SmartScreen warning because the file is not code-signed: More info → Run anyway.

Problem with a new version? Downgrade and report it

If something breaks after an update, you can always go back to an older version by hand:

  1. Open Releases and download the setup of an earlier version (e.g. BatteryHub-Taskbar-Setup-v1.0.1.1.exe).
  2. Run it. It finds the newer version you have installed and offers [1] Reinstall: choose it, and it replaces the program with its own (older) version. Your warning levels and refresh options are kept; it asks again whether BatteryHub should start with Windows.

Check for updates never offers an older version, so the downgrade stays in place until you update again. Versions before v1.1 do not have Check for updates; to come back later, run the newer setup and choose [2] Update.

Please also report the problem in Issues so it can be fixed in the next version. It helps to include:

  • the version that has the problem and the one that works (both are shown at the top of the setup window);
  • Windows version and taskbar (Windows 11, Windows 10, ExplorerPatcher: normal or small taskbar);
  • your devices (e.g. "Logitech PRO 2 LIGHTSPEED on its receiver", "AirPods over Bluetooth");
  • what happened and what you expected, ideally with a screenshot of the taskbar.

Features

  • On the taskbar, next to the clock: one icon and percentage per device (🎧 27% 🖱 96%), in the original's look (Segoe Fluent Icons, Segoe UI Variable, ClearType), following light / dark mode and DPI.
  • Hover a device for a card with its name, level, connection and a chart of the last 24 hours, fading in and cross-fading between devices like the taskbar's window previews; the widget lights up like the taskbar's own buttons. The history keeps one point per change (at least every 10 minutes), is deleted after 24 hours, and is stored with the settings (History), so the uninstaller removes it.
  • Charging at a glance: green ⚡ while charging, blue ⚡ at 100%, red percentage at or below the device's warning level.
  • Per-device warning level: 50 / 40 / 30 / 20 / 15 / 10 / 5%.
  • Reacts at once when a receiver, cable or Bluetooth device connects or disconnects, and within ~10 s when a headset on a 2.4 GHz dongle is switched on or off.
  • Refresh interval of 1 / 5 / 10 / 30 minutes or 1 hour.
  • More monitors: show the widget on all monitors, the main one only, or only one other monitor; on every taskbar it sits right next to that taskbar's clock and appears at the same moment.
  • Notification-area icons instead (optional): one icon per device that Windows itself places, so it can be dragged between other tray icons and never overlaps other taskbar widgets.
  • Next to other taskbar widgets: when another program places its own widget in the taskbar (network or CPU meters...), BatteryHub sits left of it instead of on top of it.
  • Position and background: move the widget further from the clock, and an optional plate behind it for transparent taskbars.
  • Start with Windows and automatic update check switched on or off right from the menu.
  • Check for updates from the menu, with a SHA-256-verified download.
  • Request support for a device from the menu: pick a device that is not shown, and a GitHub issue opens filled in with what is needed to add it.
  • Tiny: about 0.1–0.2 MB of RAM when idle (Task Manager "Memory"), about 0.1 s of CPU per minute.
  • One copy only: starting BatteryHub again while it runs does nothing.
  • Safe fallback to notification-area icons on a vertical taskbar or an unknown Explorer layout.

Using it

On the stripMeaning
Red percentageAt or below the device's warning level (default 15%)
Green ⚡Plugged in and charging
Blue ⚡Plugged in and charged to 100%
DimmedAsleep (receiver still plugged in), showing the last known value

Left click does nothing (on purpose: the strip stays out of the way). Right click opens the menu:

Menu itemWhat it does
Device name (level, state) ▸Red warning at or below 50 / 40 / 30 / 20 / 15 / 10 / 5% for that device
Refresh devicesFull rescan; devices that are gone disappear
Refresh battery levelsReads the levels again
Refresh battery every ▸1 minute / 5 / 10 / 30 minutes / 1 hour
Refresh when a device connects or disconnectsOn by default; see below
Show as notification-area icons (Windows arranges them)Off by default. Instead of the strip, one notification-area icon per device with its level drawn in it. Windows places these icons like any other: drag them to reorder or in and out of the hidden icons. New icons start hidden behind ^ (Windows 11 does that for every app): drag them onto the taskbar or turn them on in Settings → Personalization → Taskbar → Other system tray icons once; Windows remembers it per device
Background behind taskbar text (for translucent taskbars)Off by default. A rounded plate in the taskbar's colour behind the widget, so it stays readable on a transparent taskbar (TranslucentTB, Windhawk Taskbar Styler...)
Position on the taskbar ▸Next to the notification area or 20 to 200 px to the left of it (in 20 px steps), e.g. to make room for another taskbar widget (iCUE, network meters...). Also applies on other monitors. A value set by hand (TaskbarOffset) shows as Custom
Height on the taskbar ▸5 / 10 / 15 px up, Centred, or 5 / 10 / 15 px down. Also applies on other monitors. A value set by hand (TaskbarOffsetY) shows as Custom
Show widget on ▸Only with more than one monitor: All monitors / Main monitor only / Display 2 (left) only... The monitor is remembered by its identity, not its number; while it is unplugged the widget is on the main taskbar. Other monitors need Show my taskbar on all displays in Windows (taskbars of other programs, e.g. DisplayFusion, are not supported)
Automatically start with WindowsAdds or removes BatteryHub's autostart entry (HKCU\Software\Microsoft\Windows\CurrentVersion\Run\BatteryHub Taskbar)
Automatically check for updatesOff by default. When on, BatteryHub checks GitHub once, about 2 s after it starts (not while it runs; if the network is not up yet it tries again every 15 s, up to 8 times); if there is a new version you get the same question as with Check for updates...
Install updates silentlyOff by default; needs the automatic check. When the check finds a new version, BatteryHub downloads it, verifies its SHA-256 checksum and installs it in the background: no question, no setup window, no "Update finished" message. Settings and autostart are kept.
Request support for a device...Lists every device BatteryHub can see (HID, USB and Bluetooth; vendor-specific and audio devices first). Pick yours, check the name and type, add notes, and Send opens a new GitHub issue in your browser, filled in with exactly what the window shows: name, type, your name (optional, the issue is public), notes, vendor / product id, HID and USB interface summary, Windows build. You submit it there (a GitHub account is needed); nothing is sent from the app. Copy full report copies the same plus the list of all devices. Also available as batteryhub-taskbar.exe --report
Check for updates..."No new updates", or "A new update is available: v1.1 → v1.x - update now?". Yes downloads the setup, checks it against the release's SHA-256 checksum and starts it; it updates and restarts BatteryHub, keeping your settings and autostart
ExitCloses BatteryHub

The hover card and the menu follow the taskbar theme (dark or light); the Request support window follows the Windows app theme.

When a device comes or goes (with Refresh when a device connects or disconnects on):

EventShown after
USB receiver / cable plugged in or removed~1–3 s (Windows device notifications; every read also checks whether the set of HID devices changed)
Bluetooth device (AirPods, headphones, controllers) connects or disconnectsa few seconds (connections are checked every 3 s); AirPods only while connected to this PC
Headset on a 2.4 GHz dongle switched on or off~10 s (headset dongles are checked every 10 s)
Mouse / keyboard asleep, receiver still plugged instays, dimmed, with its last level
PC wakes upa few seconds

Setup: Install / Update / Uninstall

The setup is a console window with a detailed log. Before it shows any options, it scans your PC:

  • whether BatteryHub is installed, which version, and where;
  • the program file (size and date), the shortcuts, autostart, and whether it is running;
  • whether the original C++ BatteryHub is installed (reported, never touched).
OptionWhenWhat it does
[1] Install / ReinstallalwaysInstalls, creates desktop and Start menu shortcuts and asks "Add to Windows autostart? [Y/n]". Logs every block written (with CRC-32 check) and every file and registry entry it creates
[2] Updatean older version is installedReplaces the program and keeps your settings and autostart; restarts it if it was running
[3] UninstallinstalledStops the program, checks every autostart location (HKCU / HKLM Run, RunOnce, Task Manager startup state, Startup folder) for entries that start it and removes them, then the shortcuts, files and settings. Lists everything it removed
[0] ExitalwaysChanges nothing

BatteryHub also appears in Settings → Apps → Installed apps, where Uninstall runs the same uninstall.

At the end it thanks you, links to the project (a ⭐ helps!) and closes itself after 5 seconds. On an error it stays open.

Command line for scripts: /install, /update, /uninstall, /S (silent), /autostart=yes|no, /nolaunch, /nonotify (no "Update finished" message afterwards).

Where the files go
Program%LOCALAPPDATA%\Programs\BatteryHub\Taskbar\batteryhub-taskbar.exe, plus BatteryHub-Setup.exe (a copy of the setup that Uninstall in Settings runs)
Settings → Apps entryHKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\BatteryHub Taskbar
ShortcutsDesktop and Start Menu\Programs\BatteryHub\BatteryHub Taskbar.lnk
SettingsHKCU\Software\BatteryHub\Taskbar: Thresholds (per device), RefreshMinutes, RefreshOnDeviceChange, TaskbarOffset (DWORD, gap from the clock in pixels), TaskbarOffsetY (DWORD, up / down shift in pixels, + = down), WidgetMonitor (all, main or a monitor id), WidgetBackground, AutoCheckUpdates, SilentUpdates, NotificationIcons, History (binary, last 24 hours of levels)
AutostartHKCU\...\Run → BatteryHub Taskbar (if you chose it)

The original C++ BatteryHub uses different names (Program Files\BatteryHub, HKCU\Software\WirelessBattery, autostart WirelessBattery) and is never touched.

Resource usage vs. the original

Both programs running side by side on the same PC, the same devices connected (Logitech LIGHTSPEED mouse, SteelSeries 2.4 GHz headset dongle, Bluetooth), default settings (refresh every minute), sampled every 2 s for 3 minutes after start-up. Method, raw samples and older runs: bench/RESULTS.md.

BatteryHub (Rust) v1.1BatteryHub (C++) 1.1.0
RAM in Task Manager ("Memory" column), median0.20 MB4.66 MB23× less
RAM in Task Manager, average / max0.33 / 0.82 MB4.65 / 4.92 MB
Working set incl. shared system DLLs1.3 MB27.5 MB21× less
Private bytes (commit)4.6 MB6.0 MB
CPU time per minute0.11 s0.88 s8× less
Threads915
Handles367375
Program fileabout 500 KB1,958 KB4× smaller

v1.5, with about 40 more device drivers, the hover card and its 24-hour history: program 867 KB, setup 1.6 MB. In a 90-second check the Task Manager median was 0.12 MB, with short peaks up to about 1 MB while the devices are being read.

What keeps it small: memory needed only for a moment (a read, a Bluetooth check) is handed back to Windows right after; settings are cached; Bluetooth LE is listened to only while reading; the device list is cached and rescanned only when it changes; only Bluetooth device nodes are enumerated; the Xbox input APIs and WinHTTP are loaded only when needed.

To be fair: the original has more device drivers (about 100), brand colours and more options. Part of the difference is less code doing less work, not only the language.

Taskbar compatibility

The strip is a small layered window placed inside the taskbar, left of the notification area, the same technique the original uses. It depends on Explorer's window layout, so BatteryHub checks it every second and falls back safely:

SituationWhat BatteryHub does
Windows 11, Windows 10, ExplorerPatcher (also the small Windows 10 taskbar)Strip next to the clock; on the Windows 10 layout the task buttons are narrowed so they never slide under it
Explorer restartsRecreates exactly one strip on the new taskbar (stray strip windows are removed every second)
Taskbar height, DPI or theme changes (e.g. after leaving full screen)Re-renders the strip
Vertical taskbar, unknown Explorer layout, or the strip cannot be placed for 3 sOne notification-area icon per device (level drawn in the icon, a short tooltip and the same menu), back to the strip when possible

Supported devices

FamilyNotes
LogitechHID++ 1.0 / 2.0 over Unifying, Bolt, LIGHTSPEED, Bluetooth and USB, plus G headsets (voltage curves)
SteelSeriesArctis 1 / 7 / 9 / Pro, Arctis Nova (3P, 5, 7, 7+, Pro), GameBuds, Aerox, Prime, Rival
RazerMice, keyboards and receivers (90-byte feature report protocol); BlackShark V3 headset over its HyperSpeed dongle 1532:057A or USB cable 1532:0579 (protocol from OpenRazer PR #2794 and Joule); BlackShark V2 Pro (2023) over its HyperSpeed dongle 1532:0555 (protocol from OpenRazer PR #2862 and blackshark-battery, MIT); Barracuda X Chroma over its 2.4 GHz dongle 1532:0574 (protocol from batterywatch, GPL-3.0)
CorsairVoid family headsets incl. HS70 Pro Wireless 1B1C:0A4F over the 2.4 GHz receiver (protocol from HeadsetControl and the Linux hid-corsair-void driver)
AULA / MCHOSEAULA F75 / F87 Pro / F99 (Pro) and MCHOSE keyboards on the "BY" receiver 3554:FA09 / 3554:FB40 / 41E4:2001 (protocol from Device-Battery-Info, womier-l65-linux and MCHOSE's M HUB, as collected in the original project); MCHOSE mice (K7, L7, M7, A7) on VID 5253 and on the receivers 3837:1001 (K7 Ultra) / 100A / 100B / 100C / 1012 (protocol from mchose-linux; the 3837 ids from the original project); MCHOSE V9 Pro headset 291D:385D (protocol from HaloBattery, MIT)
ATK / VXEMice on the NK mouse NANO dongle 373B:1216 (e.g. ATK A9 PLUS 2.0, VXE R1 NK; protocol from HaloBattery and mouse-battery)
DarmosharkM3 and M3S on their Telink 2.4 GHz receivers 248A:FF30 / 248A:FF31 (protocol from darmoshark-m3-configurator, MIT; M3S ids from the original project)
VGN / VXE / ATK keyboards (Evision)VGN S99, V98 PRO, V98pro V2, N75 PRO, VXE75 (V2), VXE V87, ATK V75X and "Wireless Gaming Keyboard" (e.g. Feker Alice80) on the 2.4 GHz receiver 320F:5088 or USB cable 320F:5055 (protocol from HaloBattery, MIT, and VGN HUB, as collected in the original project)
Pulsar / Kysona / VXE / LAMZU (CompX)Pulsar X2 V2 / X2H / X2A / Xlite V3 (3554:F507 / F508 / F509), Kysona M600 (F57C / F57D / F5D5), VXE R1 SE+ (373B:1085, 3554:F58F), VXE Dragonfly R1 Pro (Max) (3554:F58A receiver, F58C cable), LAMZU Atlantis / Thorn generation on the LAMZU 4K Receiver (3554:F510, cable F50F) (protocol from the Linux hid-pulsar driver, vxe-r1-pro-max-battery and HaloBattery, MIT)
Scyrox / ATK 8K (CompX)Scyrox V6 / V8 on the SCYROX 8K Dongle 3554:F5F7 or USB cable 3554:F5F6; ATK mice (e.g. Fire X 8K) on the ATK Mouse 8K Dongle 373B:101B (CompX report 8; ids and protocol from HaloBattery and MouseDock, both MIT, and BrimDeck, Apache-2.0)
AULA miceX9 Ultra, V9 / V9 Max+ and other AULA mice on the AULA-8K Dongle 320F:22A0 (protocol from HaloBattery, MIT, and the original C++ BatteryHub)
MCHOSE (newer mice)K7 V2 Ultra+, A7 V3 Ultra+ and the other mice on MCHOSE's newer receivers 3837:1014 / 1018 / 1016 / 102C / 102D, K7 V2 Ultra+ cable 3837:4028 (M HUB's device-info read, as documented by MchoseBatteryTray, MIT, and the original C++ BatteryHub)
AJAZZ AJ139 V2 MCOn its 2.4 GHz receiver A8A5:2255 or USB cable A8A4:2255 (protocol from ajazz-aj139-macos, MIT)
JabraHeadsets behind a Jabra Link 390 dongle 0B0E:2E50 / 2E51 / 2E56 / 2E57 (GN Protocol as documented by HeadsetControl, GPL-3.0, and the original C++ BatteryHub)
Rongyuan receiversMice and keyboards on the Rongyuan 2.4 GHz receivers of Attack Shark's web driver (88 ids, e.g. Attack Shark R3 3151:402D, EWEADN GS01 3151:5031, AJAZZ, Akko Air 01) (protocol from BatteryTray, MIT)
SONiX keyboardsAULA F108 Pro, AJAZZ AK820 MAX and AJAZZ AK35I Pro V3 on the 05AC:024F dongle, AJAZZ AK980 V2 / AK820 Pro on 0C45:FEFE / 0C45:FDFD, 2.4G mode only (protocol from sonix-keyboard-studio, ak820-rs and ak820-studio)
WLMOUSEBeast X, Beast X Mini, Mini Pro and Max over their receivers (protocol from HaloBattery, MIT)
DriverCore mice (VID 373E)Mice on the shared 373E vendor id with its 65-byte status feature report, e.g. "R6 Mouse 2.4G" 373E:0022, LAMZU and Arbiter Studio receivers (the WLMOUSE status query, as documented by the original C++ BatteryHub from the LAMZU / Arbiter web drivers, GPL-3.0)
FlydigiApex 6 / Apex 6 Pro 37D7:2502 on the 2.4 GHz dongle or cable (protocol from SDL's SDL_hidapi_flydigi.c, zlib)
HyperXCloud III S Wireless headset over its 2.4 GHz dongle 03F0:06BE / 03F0:02CC (protocol as documented by HyperX-Battery-Tray, hyperx-battery-logger and HyperHeadset, all MIT)
HyperX Cloud II Core WirelessOver its 2.4 GHz dongle 03F0:0995 (second id 03F0:0795) (protocol from HaloBattery and HyperHeadset, both MIT)
HyperX Cloud FlightOver its 2.4 GHz dongle 0951:1723 (and 0951:16C4); level in 5 % steps, no level while charging; contributed by estebannoemr in #93, tested on hardware (protocol from hyperx-cloud-flight and hyperx-cloud-flight-wireless, both MIT)
HyperX (older headsets)Cloud Stinger Core Wireless (0951:170B, PlayStation receivers 0951:1713 / 03F0:0A93 / 03F0:0B93) over their 2.4 GHz dongles (protocols from HeadsetControl, GPL-3.0, HyperHeadset, MIT, and HyperBatteryMonitor, MIT, as used by the original C++ BatteryHub)
Logitech G533Headset over its dongle 046D:0A66, read with its fixed HID++ battery request (protocol and voltage calibration from HeadsetControl, GPL-3.0)
ZOWIEDW-series mice (FK2-DW, U2-DW, S2-DW, EC-DW ...) on the DW receiver 04A5:800A, ZOWIE U2 on 04A5:8008; level estimated from the battery voltage, charging on the dock inferred from its trend (protocol from zowie-battery-tray, MIT, as used by the original C++ BatteryHub)
KeychronMice (M1, M2, M3, M3 mini, M6, M7) on the Keychron Link receiver 3434:D030 / 3434:D031; keyboards on it only with the KC_GET_BATTERY firmware patch (ldkv/qmk_firmware#1), as stock keyboard firmware reports its battery over Bluetooth only (protocol as documented by the original C++ BatteryHub, GPL-3.0)
ROCCATSyn Max Air headset over its 2.4 GHz receiver (voltage curve; coarse level while charging)
FNATICBOLT mouse over its receiver 2F0E:0203 (the USB cable 2F0E:0204 only marks it as charging); contributed by Jere2201 in #48, from USBPcap captures, tested on hardware
Attack Shark / Delux / InphicMice (e.g. X1, X11) on the Xenta 2.4 GHz receiver 1D57:FA60 (protocol from Attack Shark Battery KDE and attackshark-battery-windows, both MIT); Delux M900 Pro and Inphic IN10 (R) MAX on the 1D57:FA65 receiver (frames from omarchy-delux-m900, MIT, and the original project)
SonyDualShock 4, DualSense, DualSense Edge (USB and Bluetooth)
AppleAirPods and Beats, from BLE proximity broadcasts (L / R / case)
BluetoothAny device Windows knows a battery level for, plus the Google Fast Pair L / R / case split
Generic HIDDevices exposing the standard Battery Strength usage
XboxWindows.Gaming.Input (exact %) and XInput (coarse levels)

Device not shown? Use Request support for a device... in the right-click menu (see above). More brands from the original project can be added as one file each in src/drivers/; pull requests are welcome (the ROCCAT, FNATIC BOLT and HyperX Cloud Flight drivers came from them). Devices can be excluded with HKCU\Software\WirelessBattery\IgnoreDevices (VID:PID list, the same setting as the original).

Unsupported devices

Devices that were requested but cannot be supported for now, and why. Most of them can still show their battery over Bluetooth, if the device has it: whenever Windows shows the level in Settings → Bluetooth & devices, BatteryHub shows it too. If you know how one of these reports its battery (a capture, a project that reads it), please comment on its issue; batteryhub-taskbar.exe --listen VID:PID records what a receiver sends without sending anything to it.

DeviceVID:PIDWhyIssue
Logitech G435 headset (LIGHTSPEED)046D:0ACB, 046D:0ADFIts dongle gives the battery only in bootloader mode, which cuts the audio; BatteryHub never touches it. Over Bluetooth it works.#10, #56, #92
Havit Fuxi-H3 and the same dongle in Redragon / Rexus / Ardor headsets040B:0897The dongle sends only volume / mute keys; the command Havit's app uses is not known#6, #79
Mad Dog GH750K, IO Graphite 2 Pro Wireless (JieLi dongle), "GAMING HEADSET B2"4C4A:4155, 3634:4155No documented battery query; the dongle's vendor channels belong to the audio chip (firmware / settings), so commands are not guessed#1, #30, #97
Bloody MR710 headset10D6:4801The Actions-chip dongle has only audio, media keys and the chip's own channels; no documented battery query. Over Bluetooth it works when Windows shows the level.#31
8BitDo Retro Mechanical Keyboard receiver2DC8:5201No documented battery command; its vendor channel is also the firmware-update channel, so commands are not guessed#5
Mojhon Storm / BIGBIG WON controllerE2B7:122CXInput dongle that reports no battery level#8
Rapoo VT9PRO 4K24AE:1211No documented protocol#11
Edifier HECATE G5 Wireless35BB:A008No documented protocol#15
Unbranded "2.4G Wireless Receiver" mice260D:1026, 3151:3020No documented protocol#14, #16
Mice on the AULA "BY" receiver3554:FA09Only AULA / MCHOSE keyboards answer on this receiver (those are supported)#17
Sinowealth "Gaming Keyboard"258A:010CNo documented protocol#19
Bloody R36 Ultra1956:3001The documented Bloody protocol does not answer on this mouse#24
ThinkPad X1 Presenter Mouse, ProtoArc EM11 NL (Bluetooth)BluetoothWindows reports no battery level for them over Bluetooth; their 2.4 GHz receivers are not identified yet#49, #50
Dark Project Nexus3554:F53ENot among the documented CompX (Pulsar / Kysona) ids; commands are not guessed#52
Glorious GHS Wireless InfinitePlay headset3794:D005No documented battery protocol for its dongle#54
Keychron Q6 HE (and other Keychron QMK keyboards on the cable)3434:0B60Keychron's stock firmware reports the battery only over Bluetooth (works there)#59
Corsair Sabre v3 Pro Wireless (Slipstream V2 receiver)1B1C:2B42The only documented battery read (OpenLinkHub) first logs in and switches the receiver to software mode, which takes over the mouse's onboard settings; BatteryHub only reads#98
Keychron keyboards on the Keychron Link receiver (stock firmware), e.g. Q1 HE3434:D030Stock firmware reports the keyboard's battery over Bluetooth only, never through the receiver. Over Bluetooth it works.#61
DAREU EK75 Pro260D:0042No documented protocol. Over Bluetooth it works when Windows shows the level.#63
L90 headset (C-Media dongle)0D8C:0371The dongle has only audio and media keys, no vendor channel#64
ONIKUMA GT808 headset3206:0861The dongle has only audio and media keys, no vendor channel. Over Bluetooth it works when Windows shows the level.#65
"2.4G Wireless Device" mouse25A7:FA17No documented protocol (not the CompX / Areson layout used on other 25A7 receivers)#66
Akko Verge S9 Ultra headset36EB:1087No documented battery protocol for its dongle; commands are not guessed. Over Bluetooth it works when Windows shows the level.#75
EKSA E1000 WT headset3206:109DNo documented battery protocol for its dongle; commands are not guessed#76
HATOR Pulsar 3 Wireless379A:3907No documented protocol for HATOR's 379A mouse receiver; commands are not guessed. Over Bluetooth it works when Windows shows the level.#73
beyerdynamic MMX 200 Wireless2E50:002FNo documented battery protocol for its dongle; its vendor channels are not guessed. Over Bluetooth it works when Windows shows the level.#40
Zoom75 Wireless (Meletrix)6D66:8888Its VIA raw HID channel has no documented battery command. Over Bluetooth it works when Windows shows the level.#42
T87 keyboard056D:C077No documented protocol#44
Keychron TurboLink 8K receiver3434:D05ANot among the documented Keychron receiver ids; which Launcher protocol it uses is not confirmed, so commands are not guessed#45
Redragon K1NG 4K PRO (M916 PRO 4K)3554:F54FNot among the documented CompX (Pulsar / Kysona) ids; commands are not guessed. Over Bluetooth it works when Windows shows the level.#46
PIAO-2.4G mouse372E:1014No documented protocol for this 372E receiver#47
AJAZZ NJ07 (Bluetooth LE)—Windows reads no battery level from it over Bluetooth; its 2.4 GHz dongle has not been reported yet#69
VXE V1 (VGN Siren V1) headset10D6:0016The Actions-chip dongle's vendor channels are undocumented; no battery query is known. Over Bluetooth it works when Windows shows the level.#85

Testing

  • Unit tests (cargo test --lib) decode recorded device reports without the hardware: SteelSeries Arctis Nova status blocks, DualSense / DualShock 4 input reports, AirPods proximity broadcasts, Google Fast Pair battery fields, Logitech voltage curves and receiver grouping, and the report decoders of every vendor driver (frames taken from the protocol sources). They also cover the 24-hour history, the card's blur, when a device is removed or shown as asleep, warning levels, colours, menu ids, the GitHub release parser, SHA-256 and version comparison.
  • The setup has its own tests (autostart matching never touches the original app, version handling).
  • CI (GitHub Actions) runs all tests and builds the program and the setup on every push.
  • Resource usage is measured with bench/compare.ps1 (two programs side by side) and bench/measure.ps1.

Building from source

Requirements: Rust 1.99 or newer (stable, MSVC toolchain; the crates use the 2024 edition) and Visual Studio Build Tools with the Windows SDK (rc.exe embeds the icon).

.\build-release.ps1

This builds the program, then the setup with the program embedded (installer/, BH_PAYLOAD_DIR), and writes release\BatteryHub-Taskbar-Setup-v1.5.exe and SHA256SUMS.txt. The version comes from the VERSION file (up to four parts, e.g. 1.0.1.1).

PathContents
src/Library: HID layer, device drivers, BLE watcher, settings, update check, UI and setup helpers
src/bin/taskbar.rsThe taskbar program
installer/The setup (src/setup.rs)
res/Icon (make_icon.py draws it), manifest, resource script, README screenshots
bench/Resource measurement scripts and results
.github/workflows/ci.ymlCI: tests and builds on every push
examples/list.rsConsole diagnostics: cargo run --example list -- --dump --ble, -- --update

License

GPL-3.0-or-later, the same as the original project. See LICENSE.

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryRust
alacritty/alacritty

A cross-platform, OpenGL terminal emulator.

66.4k
Dec 1, 2026
RepositoryRust
lencx/ChatGPT

❄️ ChatGPT Desktop Application (Mac, Windows and Linux)

54.7k
Aug 29, 2024
RepositoryRust
sxyazi/yazi

💥 Blazing fast terminal file manager written in Rust, based on async I/O.

43.8k
Dec 1, 2026
RepositoryRust
GyulyVGC/sniffnet

Comfortably monitor your network traffic 🕵️‍♂️

43.4k
Nov 28, 2026
RepositoryRust
ZGMFX01A/Wireless-Device-Battery-Monitor

Windows tray battery monitor for Logitech and Razer wireless mice, Weikav mechanical keyboards, and standard Bluetooth LE devices.

140
Dec 2, 2026
RepositoryRust
jorjanion/BatteryDock

Battery indicator pill in the Windows 10/11 taskbar for wireless headsets, mice, keyboards & controllers, built in Rust.

64
Nov 26, 2026
RepositoryRust
farion1231/cc-switch

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io

158.7k
Dec 2, 2026
RepositoryC#
antonpup/Aurora

Unified lighting effects across multiple brands and various games.

1.8k
Nov 15, 2023
RepositoryC++
Chaoses-Ib/IbInputSimulator

A library for simulating keyboard and mouse input with drivers

587
Oct 24, 2026