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

Alex Debus noreply at phabricator.kde.org
Mon Nov 11 19:56:56 GMT 2019


alexde added a comment.


  In D25018#561268 <https://phabricator.kde.org/D25018#561268>, @jjorge wrote:
  
  > > Are states > 100 or < 0 really well defined? Is it save to assume that a state > 100 can be associated with 100?
  >
  > Yes : this is a percentage. States out of this value are bad hardware : I have a travel battery which shows crazy values along time, from 0,001Wh capacity till 901Wh (Real capacity is near 45Wh).
  
  
  How can you interpret these weird charge_now values correctly? If it goes from [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%?

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/20191111/ed266263/attachment-0001.html>


More information about the Plasma-devel mailing list