- User Since
- Apr 3 2017, 11:17 AM (97 w, 6 d)
Sep 10 2018
My intention was to simplify the querying of current rate mainly for scripts and userland programs. Using acpiconf -i <x> in a script occured a bit cumbersome to me because for more than one battery, one has to iterate over the result of hw.acpi.battery.units and parse the acpiconf's output to get the actual rate.
Also, the most (hm, i think actually all) FreeBSD compatible monitors which sources i've seen were using the sysctls interface and not the ACPIIO_BATT_* ioctls, so there would be a lower threshold to add the information about current rate.
Sep 8 2018
Sep 11 2017
Updated diff according to Ians remarks.
Aug 14 2017
Aug 12 2017
fix types of private data.
Aug 11 2017
Add header file to patch again.
Fix re-enabling interrupts