Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>LogiNew to Visual Studio Code? Get it now.
Logi

Logi

Brynhildr

|
3 installs
| (1) | Free
Logitech device battery in the status bar
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Logi for VS Code

Marketplace Installs Rating CI License: MIT

Shows the battery of your Logitech devices in the VS Code status bar.

Logi status bar item with its tooltip

The extension talks HID++ directly to the hardware. It does not need Logi Options+ or G HUB, and it runs alongside them.

What it shows

  • One status bar item listing the Logitech devices that are on and have a battery, ordered and worded as in Logitech Options+:
    • a device-type icon and a percentage (85%), a level (GOOD) or a voltage (3.91V), depending on what the device reports;
    • $(zap) while charging; a yellow background when a battery is low, red when it is critical.
  • Devices that are switched off are not shown.
  • Devices that report only a voltage (many Logitech G mice, keyboards and headsets) are shown as a percentage, using the battery curve Logitech G HUB uses for that device.
  • Hover for every connected Logitech device, as in G HUB's device list, including those without a battery such as a wired keyboard or a webcam: its name, then how it is connected (USB, LIGHTSPEED, BOLT or UNIFYING, with a bolt while charging) and its battery (73% and a battery icon for the level). Values update by themselves from the devices.
  • Click the item, or run Logi: Show Log, to open the protocol log. Set logi.verboseLog to log every report.

Devices connected directly over USB, and devices behind a Unifying, Bolt or Lightspeed receiver, are supported.

Battery curves and network use

The curves come from G HUB. If G HUB is installed, its copy is used. Otherwise, the first time a voltage-only device is connected, the extension downloads the curves of all devices from G HUB's update server (updates.ghub.logitechg.com, a few MB) and caches them; it checks for a new G HUB release at most once a day. Nothing else is sent, and nothing is downloaded for devices that report a percentage. Set logi.downloadBatteryCurves to false to turn this off; voltage-only devices then show volts unless G HUB is installed.

Platforms

Windows and macOS: x64 and arm64.

Development

npm install
npm run compile      # type-check, lint, bundle to dist/

Press F5 in VS Code to start an Extension Development Host.

  • SPEC.md is the specification the implementation follows.
  • src/devio/README.md explains how the code is organised.

License

MIT. See LICENSE.

Logitech, Logi, Unifying, Bolt and Lightspeed are trademarks of Logitech. This project is not affiliated with or endorsed by Logitech.

Third-party

Device, battery and wireless icons (mouse, trackball, touchpad, headset, microphone, speaker, battery, wifi) are from Lucide (ISC licence, see media/LUCIDE-LICENSE).

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft