Get information about batteries

gabor at zahemszky.hu gabor at zahemszky.hu
Wed Dec 9 18:55:20 UTC 2015


Hi!

On a FreeBSD machine, I can get information about the AC-adapter or 
battery with

sysctl hw.acpi.battery

I can get how many of them installed in that machne 
(hw.acpi.battery.units).
But if I have 2 of them, how can I get the information about them?

Eg, the battery life or the time - but not accumulated, but separately.

Thank,

Gabor < Gabor at Zahemszky dot HU >


More information about the freebsd-acpi mailing list