diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2020-05-11 17:57:18 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2020-05-11 17:57:18 +0000 |
commit | baa5d3a91d1f3d77734750c41f3c5faa2cad60d9 (patch) | |
tree | 8e684c7773be1616e69d559da7765d7ea225a956 /sbin | |
parent | ad429f00464a3adbb45fe8e9ce4e5a273fc16880 (diff) |
More accurate remaining power reporting with disparate batteries
Overall remaining power was computed as the average of the remaining
power of each battery, in percents. This doesn't work with batteries of
different capacity, so use the total capacity and remaining power
instead.
Reported by lidstah, successful tests by lidstah and benno@, ok kettenis@
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions