Hi,
Odd thing, Your scripts are using /proc/acpi/.... In my case there is no such a folder. Mine Ubuntu 12.04 has information about battery in different files at /sys/class/power_supply/BAT0/.
I've found this topic. They are using the ACPI output. https://bbs.archlinux.org/viewtopic.php?id=127387
I'm not a programer but here is mine script. Beware sometimes it has a problem after resuming from the standby. I do not know why :-(.
Hi,
Odd thing, Your scripts are using /proc/acpi/.... In my case there is no such a folder. power_supply/ BAT0/.
Mine Ubuntu 12.04 has information about battery in different files at /sys/class/
I've found this topic. They are using the ACPI output. /bbs.archlinux. org/viewtopic. php?id= 127387
https:/
I'm not a programer but here is mine script.
Beware sometimes it has a problem after resuming from the standby. I do not know why :-(.