also sprach Thomas Arendsen Hein <[email protected]> [2017-01-16 18:30 
+1100]:
> > I think it'd be best to compare against the average of the load
> > level of all available batteries.
> 
> Sounds good enough.
> 
> One could argue that only the battery with the highest level
> should be checked, but this might assume certain features in the
> hardware that can't be guaranteed, so above will be safe.

acpitool or upower should expose combined data.

> If you change something here, I will no longer be able to easily
> test it, because I no longer have an external battery for my
> laptop.

I could, but I am not ready to touch the code.

-- 
 .''`.   martin f. krafft <[email protected]> @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems
 
a common mistake that people make
when trying to design something completely foolproof
was to underestimate the ingenuity of complete fools.
                                 -- douglas adams, "mostly harmless"

Attachment: digital_signature_gpg.asc
Description: Digital GPG signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

Reply via email to