Ubuntu – where did /proc/acpi/battery/BAT0/XXX go in 12.10

acpibattery

I use some custom scripts that use and monitor the battery information that was in:

/proc/acpi/battery/BAT0/(state|info)

However, since upgrading to 12.10 I no longer have those files and I've been unable to search for a replacement I can use.

Anyone know where they went or were replaced with? Where would I go to get current battery state, last charge capacity, original battery capacity, etc?

Best Answer

/sys/class/power_supply/BAT0 ?

Related Question