A premium, highly customizable, translucent desktop widget for Windows that replicates the clean aesthetic of the iOS battery widget. It monitors and visualizes your PC's resource metrics and connected Bluetooth accessories in real-time, complete with intelligent device routing and category prioritization.
- π¨ iOS Aesthetic & Translucency: Uses native Windows graphics layering combined with Gaussian blur (
backdrop-filter) and light border highlights to deliver a modern, premium look. - π Native Desktop Pinning: The widget embeds itself directly into the Windows
WorkerWlayer, pinning it safely behind your desktop icons and apps (like Rainmeter or Wallpaper Engine). It stays glued to the wallpaper and never disappears when using "Show Desktop" (Win+D). - π Resource & Device Monitoring: Supports CPU usage, RAM utilization, laptop battery charging state, and paired Bluetooth device batteries.
- π§ Intelligent Bluetooth Routing:
- Auto-routing dynamically binds to whichever Bluetooth device is actively online.
- Filters out cached offline devices using the Windows PnP connection status.
- Scans device properties and automatically translates names (e.g.
pTron BTinstead ofpTron BT Hands-Free AG).
- β Device Priority Engine: If multiple Bluetooth devices are active (e.g. a mouse and earbuds), it automatically prioritizes and displays wearables or audio devices (
Headset,Audio Device,Watch) first, falling back to other peripherals if none are active. - βοΈ Dynamic Settings Panel: Adjust scale (between
0.5and1.5), opacity, glass blur radius, refresh rates, slot count, position offsets, and toggle "Always on Top" or "Click-Through" modes instantly. - π Silent Boot Autostart: Registers automatically in the Windows startup registry. Runs natively in the background silently on boot with no command prompt windows popping up.
- Go to the Releases section on the right side of this repository.
- Download the latest
BatteryWidget Setup 1.0.0.exeinstaller. - Run the installer
.exeon your Windows PC. - The setup wizard will:
- Install the widget files to your system.
- Add a shortcut to your Desktop and Start Menu.
- Configure the widget to launch automatically whenever your PC boots up.
- The widget will launch instantly upon completion!
If you want to run the project from source code or modify it:
- Clone this repository to your local machine:
git clone https://github.com/wasifshaffaq/widget.git cd widget - Install the development dependencies:
npm install
- Start in Development Mode:
npm start
- Run Logical Test Suite:
npm test - Package into a Portable Directory:
npm run package
- Moving the Widget: Click and hold anywhere on the widget card body to drag and reposition it on your desktop. Release to lock it in place (its coordinates are saved automatically).
- System Tray Context Menu:
- Right-click the Tray Icon (green battery icon) in your taskbar to quickly toggle Always on Top, Click-Through Mode, hide/show the widget, or exit.
- Double-click the Tray Icon to open the settings panel.
- Dynamic Slot Configuration: Open settings and configure how many slots to display (
1to4slots).- Setting the slot type to
bluetooth_deviceand leaving the name empty enables intelligent auto-detection. - Alternatively, type a manual name to bind the slot to a specific device.
- Setting the slot type to
This project is licensed under the MIT License. See the LICENSE file for details.

