Improved Battery Reporting For Newer Logitech Devices Coming To Linux 5.12
Written by Michael Larabel in Hardware on 18 January 2021 at 03:05 PM EST. 6 Comments
HARDWARE --
Newer wireless Logitech keyboard/mice supporting "unified battery" reporting will be supported beginning with Linux 5.12 as a newer interface compared to the existing battery reporting support.

While Logitech doesn't engage much with seeing good Linux support by their consumer devices (there has been only a handful of commits from Logitech developers over the past decade - in most cases providing just some basic bits), the open-source community through reverse engineering and widespread testing have filled in the voids. Wireless Logitech devices on Linux have generally enjoyed working battery reporting under Linux while now support for an interface found with newer devices is forthcoming.

The existing kernel support and what has been traditionally found with Logitech devices allows for exposing the critical / low / good / full battery reporting. But with the "unified battery" (0x1004) feature, a battery percentage can now be reported on newer devices. The newer devices can still end up in some cases supporting the old battery reporting functionality, but moving ahead with Linux 5.12+ if a battery percentage is available that is the preferred means of reporting to the user.

This patch for the hid-logitech-hidpp driver by Arch Linux developer Filipe Lains has been queued into the HID-next code ahead of Linux 5.12.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Popular News This Week