CVSROOT:        /cvs
Module name:    src
Changes by:     j...@cvs.openbsd.org    2020/05/11 11:57:17

Modified files:
        sys/dev/acpi   : acpi.c 

Log message:
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@

Reply via email to