D25018: Move ACPI battery information from /proc/acpi to /sys

José JORGE noreply at phabricator.kde.org
Tue Nov 12 08:37:09 GMT 2019


jjorge added a comment.


  > How can you interpret these weird charge_now values correctly? If the range is [1/1000, 901] Wh, while the real range is [0, 45] Wh, how does the charge curve look like while charging or discharging? Are there (continues) values in [46, 901] Wh? Do you assume all of those as 100%?
  
  The only correct interpretation is that a battery chan't have 2000% charge, neither -45%. So we assume the 0-100 range for a percentage ;-)
  
  Edit: Is the charge_now or the maximum value incorrect due a faulty battery?
  
  Yes, that's the reason. The BIOS tells me I should junk it, but I can still work nearly two hours more when it is plugged in ;-)

REPOSITORY
  R106 KSysguard

BRANCH
  acpi-move-battery-to-sysfs

REVISION DETAIL
  https://phabricator.kde.org/D25018

To: jjorge, davidedmundson, #plasma, ahiemstra
Cc: alexde, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191112/777b59b4/attachment.html>


More information about the Plasma-devel mailing list