summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2020-05-11 17:57:18 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2020-05-11 17:57:18 +0000
commitbaa5d3a91d1f3d77734750c41f3c5faa2cad60d9 (patch)
tree8e684c7773be1616e69d559da7765d7ea225a956 /sbin
parentad429f00464a3adbb45fe8e9ce4e5a273fc16880 (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