A wireless device battery monitor for Windows. Displays the selected device's battery level in the system tray.
g-eHID is the companion module: it discovers HID devices, identifies their battery protocol and creates profiles for g-eBAR.
g-eDPI is an optional module for mouse settings and SmartSaver, available starting with public version 1.4.2.
| Version | 1.4.x |
| Windows | Windows 11; Mica requires 22H2 (build 22621). Windows 10 has not been tested. |
| Framework | net10.0-windows |
| Interface | WPF; native tray icon and menu through Shell_NotifyIcon |
| Dependencies | .NET 10, HidSharp 2.6.4; Bluetooth through SetupAPI |
- Download
g-eBAR.exefrom Releases, place it in a permanent writable folder and run it. The release includes the .NET runtime. - Double-click the tray icon to open the control center. The built-in profile is for Logitech G PRO X 2.
- To add another device, open the update window and install g-eHID. In g-eHID, select your device, click Detect battery, then Add to g-eBAR.
- Return to g-eBAR, refresh the device list and select your device. Profiles are also reloaded automatically.
- To configure a supported mouse, install g-eDPI from the update window and open the g-eDPI tab. See Mouse settings and SmartSaver.
✅ Tested on hardware; 🔄 Implemented, needs testing; ➖ Not supported yet
| Devices | Battery source | Readiness |
|---|---|---|
| Logitech LIGHTSPEED receivers | Gaming 0x51 |
✅ Tested |
| WLMOUSE HUAN 8K and compatible devices | Feature 0x83 |
✅ Tested |
| MonsGeek, Akko, AJAZZ with RY5088 receivers | FEA 0xF7 |
✅ Tested on MonsGeek |
| VGN and compatible devices | Compx report 8 0x04 |
✅ Tested |
| Waizowl OGM V2 Pro / OGM 8K via receiver | Waizowl 0x41 |
✅ Tested |
| Waizowl OGM via cable | Waizowl 0x01 |
🔄 Based on tester logs |
| WLMOUSE Beast X | Beast X 0x04/0x1A |
🔄 Needs testing |
| Logitech devices with HID++ 2.0 | HID++ 0x1000 |
🔄 Needs testing |
| Bluetooth devices and controllers | HID battery usages 0x06:0x20, 0x85 |
🔄 Needs testing |
| Bluetooth devices exposing battery level to Windows | Windows PnP | 🔄 Needs testing |
Receivers with 33-byte Input/Output reports (36B0:3002 and similar) |
No matching protocol | ➖ Not supported |
Waizowl wired support uses the 8C 01 00 battery marker from tester logs. Windows PnP readings match device names from the profile. On RY5088 receivers, byte 4 indicates sleep, not charging.
Protocols are matched by Input, Output and Feature report sizes. Vendor IDs only affect the order of probing. Commands are sent to vendor collections (UsagePage >= 0xFF00); standard keyboard and mouse collections are excluded. Responses are checked for empty data, echo signatures and consistent repeated readings.
If a stored protocol stops responding, g-eBAR tries the known protocols again. After three unsuccessful scans, full probing pauses for 30 minutes while the stored request continues to be tried; during the first 10 minutes after startup, the pause is limited to 30 seconds. Manual refresh or a change in connected interfaces resets the pause. Older profiles are normalized against the protocol catalog without requiring re-creation.
g-eDPI includes settings drivers for WLMOUSE HUAN through its receiver or USB cable, and selected Waizowl OGM variants. Available settings and limits depend on the model and connection:
- DPI, polling rate and lift-off distance.
- Sleep timeout and sensor modes such as Speed and Turbo, where supported.
- SmartSaver for automatic polling rate changes.
Select the mouse on the home page, open g-eDPI, adjust the values and click Save to write them to the mouse. A green check next to the device name indicates settings support. A red cross indicates that settings are not supported yet; hover over it for details. If the mouse is asleep, wake it and click refresh to read its settings.
SmartSaver is off by default. When enabled and saved, it lowers polling to 125 Hz on the desktop and uses your selected rate in fullscreen applications. Browsers and known video players are excluded. Saving resumes three seconds after leaving fullscreen, and also works while charging. The control center adds (SS) to the current polling rate while SmartSaver is active.
SmartSaver settings are stored in %LocalAppData%\g-eBAR\smartsaver.json. Install g-eDPI from the update window and remove it from the About page.
An explicit charging flag from the device takes priority. Without one, g-eBAR estimates charging from battery changes:
| Observation | Interpretation |
|---|---|
| Rise of at least 5 percentage points between readings | Cable connected |
| Drop of at least 4 percentage points between readings | Cable disconnected |
| Rise of 3 percentage points within 10 minutes | Charging |
| Trend above +1.5 percentage points per hour | Slow charging |
| Trend below −1.5 percentage points per hour, or no rise for 30 minutes | Charging ended |
In g-eHID, Find charging compares packets captured with the cable disconnected and connected to identify a charging byte.
Sleeping devices retain their last known percentage. MonsGeek receivers can report a cached level during sleep; a Logitech receiver's 05 00 FF response is also treated as sleep. The first reading after sleep does not count as a cable-related battery jump.
The device list combines the built-in profile with %LocalAppData%\g-eBAR\Profiles\*.json. A user profile with the same Id overrides the built-in profile. Use g-eHID to rename profiles or merge a device's wired and wireless connections.
When the selected device disappears, g-eBAR selects the first available device in profile order. The tray, control center and saved selection change together. A sleeping device with a known percentage stays selected. Automatic switching starts with a separate check 30 seconds after launch. A previously selected device returning does not change the current selection.
The home page shows battery history for 24 hours or seven days. Charging connections and disconnections are marked on the graph.
Remaining time is estimated from up to seven days of readings. Gaps longer than 30 minutes are excluded from both elapsed time and battery loss. At least a 3% drop and 30 minutes of data are required. Polling intervals longer than five minutes display a warning because short charging sessions may be missed.
Settings are stored in %LocalAppData%\g-eBAR\settings.json.
| Setting | Default | Description |
|---|---|---|
SelectedDeviceId |
built-in |
Selected device |
StartWithWindows |
false |
Start with Windows |
RefreshIntervalSeconds |
60 |
Polling interval, 15-86400 seconds |
HistoryHours |
24 |
Graph period: 24 or 168 hours |
NotifyLowBattery |
true |
Low battery notifications |
NotifyChargingConnected |
true |
Charging started notifications |
NotifyFullyCharged |
true |
Fully charged notifications |
ShowAllDevicesInTrayTooltip |
false |
Show all battery levels in the tray tooltip |
NotifyAllDevices |
false |
Notify for all monitored devices |
AutoSwitchDevice |
true |
Select an available device when the current one disconnects |
WarningThreshold |
20 |
Warning level, 5-50% |
CriticalThreshold |
10 |
Critical level, 1-49%, below the warning level |
IconStyle |
Battery |
Battery or Percentage |
TrayIconScale |
2 |
Small (1), normal (2) or large (3) |
NormalColorArgb |
#00BCD4 |
Normal battery color, stored as an ARGB integer |
WarningColorArgb |
#FFA500 |
Warning color, stored as an ARGB integer |
CriticalColorArgb |
#FF0000 |
Critical color, stored as an ARGB integer |
LogRawPackets |
false |
Include raw HID packets in logs |
Out-of-range values are clamped when loaded. Public and dev share settings and profiles. Extra developer data lives in dev objects and is preserved by public builds, along with unknown JSON fields. Profiles use shared format version 2.
Public updates do not require a GitHub token. To access dev, hold Ctrl and double-click the version on the About page, enter a token with read access to the dev repository and select Switch to dev. Dev provides Return to public version without requiring a token. Switching preserves data and replaces installed g-eHID and g-eDPI modules with their counterparts from the target channel. Tokens are stored in Windows Credential Manager as g-eBAR/GitHub, never in configuration files.
Use the built-in bug reporter so your issue includes the information needed to investigate it:
- Open the control center and select the affected device.
- Open About and click 🐞 Report bug.
- Describe the problem and how to reproduce it, then confirm the report.
g-eBAR opens a prefilled GitHub issue with the device state, protocol, app and module versions, and Windows details. It also opens a folder with copies of today's g-eBAR and g-eHID logs. Attach those files to the issue, then submit it on GitHub.
Logs are stored in %LocalAppData%\g-eBAR\Logs, limited to 1 MB per file and 10 MB in total.
| Option | Purpose |
|---|---|
--diagnostics |
Open the control center with diagnostics instead of the graph |
--probe |
Probe devices without the GUI; exits with code 3 if no battery is found |
--ui-smoke-test |
Open and close application windows; exits with code 2 on failure |
Build and run tests on Windows with .NET SDK 10:
dotnet test g-eBAR.slnx -c Release --disable-build-servers -m:1
dotnet publish GeBar.App/GeBar.App.csproj -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true