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

14,841

Solution 1

/sys/class/power_supply/BAT0 ?

Solution 2

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
Share:
14,841

Related videos on Youtube

m0sa
Author by

m0sa

Web App Developer Ubuntu Mi Loco Member @mitechie Creator of Bookie: https://github.com/bookieio

Updated on September 18, 2022

Comments

  • m0sa
    m0sa over 1 year

    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?

  • Warren Hill
    Warren Hill almost 11 years
    This site is English only can you please translate the question.