Hi all! I'm writing a script to get battery status and capacity, and I'm using 
hw.acpi.battery for that. But I can't find a reference as to which states 
hw.acpi.battery.state supports. Not in DuckDuckGo, nor google, nor the mailing 
lists archive, nothing. I only managed to discover this by discharging the 
battery and monitoring:
state: 0 = unknow?
state: 1 = discharging
state: 2 = charging
state: 5 = discharging critical (life < 6)
state: 4 = same as 0, but with critical charge?
state: 6 = charging critical

I can't find anything on the man pages either.
Should this be documented, either on a man page or the sysctl's tunable 
description?

Cheers!
forkbomb9
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "[email protected]"

Reply via email to