https://bugs.kde.org/show_bug.cgi?id=472657

--- Comment #13 from Aldoo <aldo-pub...@laposte.net> ---
And indeed, it is upower who loops through AC devices to guess whether we are
on battery. The code is here :
https://gitlab.freedesktop.org/upower/upower/-/blob/master/src/up-daemon.c#L359

So, if I am right, the suggestion to make "on battery" status more robust by
only checking the online status of
"/org/freedesktop/UPower/devices/line_power_AC" instead of checking all devices
should be made upstream (also why the other device wrongly returns "online" is
another issue).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to