Linux 7.1 will add support for multiple batteries per HID device, addressing a long-standing limitation. The HID core code is being updated so the HID device structure can hold a list of batteries with unique report IDs instead of pointing to just one. API compatibility is maintained for existing single-battery code. The change, queued in HID's for-next branch ahead of the April merge window, was developed by Lucas Zampieri and covers scenarios like gaming headsets with headset and dock batteries, wireless earbuds with per-earbud and case batteries, and split keyboards with per-side batteries. Userspace software, desktop environments, and systemd will also benefit from further adaptation to enumerate and label multiple batteries properly.
Sort: