where did /proc/acpi/battery/BAT0/XXX go in 12.10?

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?


/sys/class/power_supply/BAT0 ?


You can try installing acpi and then calling acpi -V to get info about batteries and temps for your machine.

sudo apt-get install acpi
acpi -V