[plasmashell] [Bug 518513] Power and Battery widget does not show multiple batteries for a single HID device

[email protected]
Newsgroups gmane.comp.kde.devel.bugs
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=518513

--- Comment #2 from [email protected] ---
After tracing the data path, the enumeration part of this request is currently
blocked upstream by UPower:

https://gitlab.freedesktop.org/upower/upower/-/work_items/348
https://gitlab.freedesktop.org/upower/upower/-/merge_requests/337

Linux 7.1 exposes each HID battery report as a separate power_supply device,
such as hid-$UNIQ-battery-5 and hid-$UNIQ-battery-6. However, UPower currently
gives these batteries the same device serial and its duplicate-device handling
hides all but one. Consequently, Plasma only receives one battery and cannot
display the others.

UPower MR !337 addresses this by retaining multiple batteries belonging to the
same physical parent device, while continuing to de-duplicate a single battery
observed through different transports. The MR is intended to resolve UPower
issue #348.

Therefore, this KDE issue should be retested after !337, or an equivalent
UPower fix, is merged and released. Any remaining KDE-side work would then
concern presenting, naming, or grouping the individual component batteries.

-- 
You are receiving this mail because:
You are watching all bug changes.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.