On Wed, Jun 14, 2023 at 9:54 AM Stefan Hansson newbyte@disroot.org wrote:
On 2023-06-13 23:31, Linus Walleij wrote:
I had the following weird phenomena on a mobile phone: while the capacity in /sys/class/power_supply/ab8500_fg/capacity would reflect the actual charge and capacity of the battery, only 1/3 of the value was shown on the battery status indicator and warnings for low battery appeared.
It turns out that utemp, the Freedesktop temperature daemon, will average all the power supplies of type "battery" in /sys/class/power_supply/* if there is more than one battery.
I assume you meant to say UPower rather than utemp here?
Yeah of course. Maybe Sebastian can fix with a bit of git commit --amend when applying?
Thanks!
Yours, Linus Walleij