battery icon in the panel && battery life time

Matthias Apitz guru at unixarea.de
Sun Jun 23 15:30:24 BST 2019



Hello,

In the panel there is a small battery icon. When I unplug the power, it says on
mouse over '5:04 Remaining (100%)' the value is correct, more or less
what the 5:04 hours regards. But, how the KDE gets to know this? The
ACPI only says the percentage, and not the life time:

$ sysctl -a | grep acpi.battery
hw.acpi.battery.info_expire: 5
hw.acpi.battery.units: 1
hw.acpi.battery.state: 0
hw.acpi.battery.rate: 0
hw.acpi.battery.time: -1
hw.acpi.battery.life: 100

How KDE calculates from the percentage the life time?

	matthias

-- 
Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!


More information about the kde-freebsd mailing list