You are not logged in.
Pages: 1
After the last couple of kernel updates, I no longer have a BATx folder inside /proc/acpi.
I used it to pipe the results to a little script I use on my statusbar, which keeps track of my memory usage, battery left, etc.
The strangest thing is that dmesg acknowledges the battery is there, and acpi returns the correct percentage and everything. It's just gone from /proc/acpi.
Anyone else had this one happen?
My laptop is an Acer TimeLine 1410.
dmesg | grep battery
[ 5.630145] ACPI: Battery Slot [BAT1] (battery present)
acpi -i
Battery 0: Full, 100%
Battery 0: design capacity 4400 mAh, last full capacity 4264 mAh = 96%
Last edited by Onyros (2011-10-10 13:34:01)
Offline
Using /proc to store ACPI information has been discouraged and deprecated since 2.6.24. The same data is available in /sys now and interested parties can (should) subscribe to ACPI events from the kernel via netlink.
https://bugs.archlinux.org/task/25845
acpitool upstream needs to fix this.
Offline
Oh, I see! I actually had a look around before posting, but didn't find info on this - or anyone else mentioning it. I obviously had other means of piping the exact same info to the script, it was more out of curiosity than anything else.
Thank you, falconindy
Offline
Pages: 1