Explicitly request for battery status updates as the firmware doesn't seem
authorkettenis <kettenis@openbsd.org>
Thu, 25 Jul 2024 20:21:40 +0000 (20:21 +0000)
committerkettenis <kettenis@openbsd.org>
Thu, 25 Jul 2024 20:21:40 +0000 (20:21 +0000)
commit5d846028a9eca01b9bd8717456d1ea7b2c68cf6f
tree1d8813dededd8edc894d4f74481641b468775aef
parent2aac3b3b7553f3ccad5d065b5ecb7f6637f9b3fd
Explicitly request for battery status updates as the firmware doesn't seem
to send us regular updates itself.  Estamate the remaining battery (charge)
time by using the reported rate.

ok phessler@
sys/dev/fdt/qcpas.c