Dark mode toggle
Last Updated:

Show Your Wireless Razer Battery Level Right in the Windows Taskbar

If you use a wireless Razer headset, mouse, or keyboard on Windows, you already know the annoyance: to check your battery level, you have to open Razer Synapse and wait for it to load. Windows puts your laptop battery right next to the clock — so why not your Razer gear too?

Razer Taskbar (v0.13.1) is an open-source Windows system tray app that displays the battery state of wireless Razer peripherals directly in your taskbar. It reads the log files Razer Synapse already writes in the background, meaning it needs no custom drivers, no direct USB polling, and works with any wireless device Synapse 3 or 4 supports.

GitHub Repository: Dawn-Of-Justice/razer-taskbar (MIT License · Windows 10 & 11)

What's New in This Maintained Edition (v0.13.x)

Building on the original MIT-licensed sanraith/razer-taskbar project (inspired by Tekk-Know/RazerBatteryTaskbar), I modernized the architecture, UI, icon renderer, and Synapse 4 log handling from the ground up:

  • Pixel-sharp multi-DPI tray icons (100%–300%): Choose between a Windows-style battery icon or the exact percentage number. Icons are rendered dynamically into multi-size .ico files so they stay crisp at 125% and 150% scaling instead of looking stretched, and they automatically follow your taskbar's light or dark theme.
  • Clear visual states: Instantly tells you whether your device is charging (bolt icon or green number), running low (red), powered off while the dongle is still plugged in (faded instead of stuck on a stale percentage), or disconnected.
  • Smart threshold notifications: Configurable alerts for low battery, critical battery, and fully charged. Each alert fires once per threshold crossing rather than spamming you on every check, and ignores transient -1 readings while a headset powers on.
  • Windows 11 Mica Settings window: Left-click the tray icon to open a clean light/dark Mica settings window with a Razer green accent, live battery card, icon style previews, and quick links to the Synapse logs folder.
  • Reliable "Start with Windows": Registers through Squirrel's Update.exe so auto-start keeps working across app updates, and enforces a single running instance (launching again focuses the open window).

How It Works (No Drivers Required)

Instead of fighting proprietary USB HID protocols, Razer Taskbar watches the log files that Razer Synapse already writes whenever a device connects or changes state:

  • Synapse 4: Watches the newest connectingDeviceData entries in %LOCALAPPDATA%\Razer\RazerAppEngine\User Data\Logs\systray_systrayv2*.log
  • Synapse 3: Watches %LOCALAPPDATA%\Razer\Synapse3\Log\Razer Synapse 3.log

Rather than re-reading an entire 5 MB log file every few seconds, the watcher reads only newly appended bytes incrementally and handles Synapse 4 log rotation without losing track of the latest battery state. The old native canvas dependency was also removed, making it much easier to build cleanly on modern Node.js releases.

Good to know: Because Razer Taskbar reads what Synapse logs, its refresh rate depends on Synapse itself. While charging, devices typically log every 1% step; on battery, Synapse may go a while between log entries until it queries the device again (for example, when you open Synapse).

Tested Hardware & Requirements

  • OS: Windows 10 or Windows 11
  • Software: Razer Synapse 4 (or Synapse 3) running in the background
  • Supported Devices: Any wireless Razer headset, mouse, or keyboard that reports battery level in Synapse (tested with the Razer Barracuda X Chroma on Synapse 4 and Razer BlackShark V2 Pro (2023))

Install in Seconds

Head to the latest GitHub Release, download razer-taskbar-<version>.Setup.exe, and run it. The battery icon will appear in your system tray (if Windows hides it behind the ^ overflow arrow, just drag it onto the taskbar). Left-click the icon to pick your preferred icon style and toggle Start with Windows.

Build From Source

If you want to tweak the icon styles, inspect the Synapse parser, or package your own installer, you'll need Node.js 22 LTS or newer:

git clone https://github.com/Dawn-Of-Justice/razer-taskbar.git
cd razer-taskbar
npm install
npm start      # Run in development mode
npm run make   # Build the Windows installer and portable ZIP

The Squirrel installer is generated at out\make\squirrel.windows\x64\razer-taskbar-<version> Setup.exe, alongside a portable archive in out\make\zip\win32\x64\.

Note: Windows toast notifications only appear in the installed build (not during npm start) because Windows requires an installed Start Menu shortcut to deliver app notifications.

Run Tests & Checks

The repo includes unit tests built on node:test with synthetic Synapse log fixtures, plus TypeScript and ESLint checks:

npm run check

Links & Documentation

If you test it on another wireless Razer mouse, keyboard, or headset, feel free to share how it works or open an issue on GitHub!

Comments

Comments are disabled because you have not consented to their use. You can change your cookie preferences via our 'cookie banner'.