RepositoryRustESTây Ban Nha
jorjanion

jorjanion/BatteryDock

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

64sao
4fork
0issue
2lượ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ủ đề: dualsense

#1 Repository của ngày

1
TINIX TRENDING·Chủ đề: battery

#1 Repository của ngày

1
TINIX TRENDING·Chủ đề: battery-monitor

#1 Repository của ngày

BatteryDock Logo

BatteryDock

All your wireless peripheral batteries in one clean, native Windows taskbar pill. Zero vendor bloat.

GitHub stars Latest Release Downloads Build Status License: MIT Platform Rust

Download v1.0.0 · Report a Bug · Request Device Support · Changelog


English · Español · Français · Deutsch · Português · Italiano · Nederlands · Polski · Svenska · Čeština · Русский · Українська · Türkçe · العربية · हिन्दी · Bahasa Indonesia · Tiếng Việt · 日本語 · 한국어 · 简体中文 · 繁體中文

If you use a wireless mouse from one brand, a headset from another, and a Bluetooth controller or headphones on top, checking your battery levels on Windows usually means juggling three heavy background apps or digging into Windows Settings.

BatteryDock replaces all of that with a single ~4 MB native Rust app that sits quietly on your Windows 10/11 taskbar. No Electron, no telemetry, no accounts, and no manufacturer suites required.


Preview

BatteryDock single peripheral pill

Single peripheral: Clean vector icon, color-coded battery bar, and percentage right on the taskbar.
BatteryDock multiple peripherals pill

Multiple peripherals side by side: Reorder devices, rename them, or hide the ones you do not want to see.

BatteryDock Peripherals dashboard v1.0.0
Peripherals: Live autonomy estimate, 24h battery sparkline, custom nicknames, and per-device alerts.
BatteryDock Alerts and Audio settings v1.0.0
Alerts & Audio: Low, critical, and 100% full-charge notifications with a gentle chime preview.
BatteryDock Customization settings v1.0.0
Customization: Liquid Glass / Dark / Light / System themes, Gaming HUD overlay, hotkeys, and 21 languages.

What It Does

Minimalist Taskbar Pill

  • 4 visual themes: Choose between Liquid Glass (ultra-transparent), Dark (frosted acrylic), Light (frosted white acrylic), or System (automatically matches your Windows taskbar theme).
  • Zero clutter: Left-click anywhere on the pill to open Settings, right-click for the quick menu, or drag it anywhere on any monitor.
  • Smart taskbar behavior: Stays cleanly above the Windows taskbar even when opening Start, Search, or Widgets, and automatically hides during fullscreen videos and games.
  • Custom device layout: Reorder peripherals on the pill with one click, give them custom nicknames, hide specific devices, or toggle percentage text on and off.

Optional Gaming & Fullscreen HUD Overlay

  • Disabled by default so fullscreen movies and YouTube stay completely unobstructed.
  • When enabled, BatteryDock automatically pops into a screen corner during borderless/fullscreen games so your mouse or headset never dies mid-match.
  • Place it anywhere: Pick from 4 corner presets with adjustable edge margin, or switch to Custom Position with X/Y sliders (0% to 100%) and live preview.
  • Click-through mode: Mouse clicks pass straight through the HUD into your game.
  • Configurable global hotkey: Bind any shortcut (default Alt + B, or any Ctrl/Alt/Shift + key / F1 to F12) to show or hide the overlay on the fly without Alt-Tabbing.

Smart Telemetry & Alerts

  • 24-hour battery trend: Each device card plots a lightweight local sparkline showing charge and discharge history.
  • Autonomy & sleep detection: Estimates remaining battery life (or time to full charge) and detects idle/sleeping peripherals.
  • Low, critical, and 100% full-charge alerts: Configure global or per-device thresholds, mute individual peripherals, play a gentle chime, and get native Windows desktop notifications even while the pill is hidden.

21 Languages Built In

  • Automatically detects your Windows UI language on first launch and switches to it if supported, falling back to English otherwise.
  • Native Windows system font fallbacks ensure crisp rendering across Latin, Cyrillic, Arabic, Devanagari, Japanese, Korean, and Simplified/Traditional Chinese scripts without extra downloads.

Supported Hardware

BatteryDock talks directly to your hardware over HID, WinRT, and Bluetooth so you do not need vendor bloatware running in the background.

CategoryProtocol / MethodSupported Examples
Logitech WirelessDirect HID++ 2.0 & G HUB IPCLightspeed headsets (G733, G535, G935, G435), mice (G PRO, Superlight, G502, MX Master), keyboards (G915)
Razer WirelessNative Razer HyperSpeed HIDViper, DeathAdder, Basilisk, Naga, Cobra, BlackWidow, Barracuda, BlackShark
SteelSeries, Corsair & GloriousNative USB-HIDArctis / Aerox / Rival, Corsair wireless mice & headsets, Glorious Model O / D
HyperX & Astro GamingNative Wireless Audio HIDHyperX Cloud II / III / Alpha / Flight / Stinger Wireless, Astro A50 / A30
Bluetooth Classic & BLEWindows PnP (DEVPKEY_Bluetooth_Battery) & BLE GATTSony WH/WF series (WH-1000XM4/XM5, WH-CH720N), JBL (Tune 770NC, Live), Bose, Sennheiser, AirPods, BT mice & keyboards
Xbox ControllersXInput & Windows Gaming Input (WinRT)Xbox Series X/S, Xbox One, Xbox Elite Series 2
PlayStation ControllersDirect Sony USB & Bluetooth HIDDualSense, DualSense Edge, DualShock 4 (USB, BT, & Wireless Adapter)
Nintendo ControllersDirect Nintendo HIDSwitch Pro Controller, Joy-Con L/R

Download & Installation

Get the latest version from the Releases page:

  1. Download BatteryDock-Setup-v1.0.0.exe (Windows installer), or BatteryDock-Windows-Portable.zip if you prefer a portable build with no installation.
  2. Run it and optionally enable Start BatteryDock when Windows boots in Settings.
  3. BatteryDock will appear on your taskbar next to the clock. Built-in GitHub auto-updates keep you up to date automatically (can be toggled off in Settings).

Windows SmartScreen Note

Because BatteryDock is a free, open-source project without a paid code-signing certificate, Windows SmartScreen may show "Windows protected your PC" on first launch. Click More info and then Run anyway. Every release binary is compiled publicly from source on GitHub-hosted runners in .github/workflows/release.yml, and you can inspect or build the code yourself at any time.


Configuration

Settings are stored in a plain TOML file at %APPDATA%\jorjanion\BatteryDock\config\config.toml (and battery trend data in history.toml in the same folder). Everything can be adjusted live from the Settings window, and changes sync immediately without restarting.


Build from Source

Requirements: Windows 10/11 and Rust (stable MSVC toolchain).

git clone https://github.com/jorjanion/BatteryDock.git
cd BatteryDock
cargo test --locked
cargo build --release --locked
.\target\release\battery-dock.exe

Contributing, Issues & Device Requests

BatteryDock is open source and community-driven. Contributions, bug reports, translations, and hardware support requests are always welcome.

  • Device not showing up? Open a Device Support Request. To make it effortless, open Settings > Customization > Copy Hardware Diagnostics and paste the generated anonymized report straight into the issue (it includes only VID/PID/UsagePage and redacted Bluetooth PnP nodes, with zero serial numbers or MAC addresses).
  • Found a bug or have an idea? Open an Issue with your Windows version and steps to reproduce.
  • Want to add a brand, protocol, or feature? Pull requests are very welcome. Fork the repo, run cargo test --locked and cargo clippy --locked, and open a PR.

License

MIT License. See LICENSE for details.

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
ferloom/Wireless-Device-Battery-Monitor

BatteryHub - Rewritten in Rust

1.1k
Dec 2, 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
RepositorySwift
permissionlesstech/bitchat

bluetooth mesh chat, IRC vibes

37.2k
Nov 27, 2026
RepositoryRust
crmne/spotifast

Spotify, native and fast. One lightweight Rust app for your whole library, local playback, and Spotify Connect on Linux, macOS, and Windows.

11.0k
Dec 1, 2026
RepositoryRust
crmne/zapfast

ZapFast: a fast, native WhatsApp client in Rust and egui

5.4k
Dec 1, 2026
RepositoryRust
deviceplug/btleplug

Rust Cross-Platform Host-Side Bluetooth LE Access Library

1.2k
Oct 10, 2026
RepositoryRust
jordond/jolt

⚡️A terminal-based battery and energy monitor for macOS and Linux.

577
Nov 26, 2026
RepositoryRust
svartalf/rust-battop

Interactive batteries viewer

533
Nov 5, 2023
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