set the APM_BATT_CHARGING state if the battery is being charged and try
authorrobert <robert@openbsd.org>
Fri, 4 Feb 2022 08:06:48 +0000 (08:06 +0000)
committerrobert <robert@openbsd.org>
Fri, 4 Feb 2022 08:06:48 +0000 (08:06 +0000)
commit21389ecef59a2dfd6944aa43edc8c30f8ff97e7b
tree008b1540ce35ae2d3a7522f2616ca98a51b4d97e
parent2c96ffb07232d88bbb63ea8371c25c6b30646dd7
set the APM_BATT_CHARGING state if the battery is being charged and try
to calculate the remaining time to be fully charged

ok jca@
sys/dev/acpi/acpi.c