Quote (mhatch @ Dec. 05 2007,21:11) |
The real file (for my config) is /proc/acpi/battery/BAT1 |
Code Sample |
<6>ACPI: Battery Slot [C0D6] (battery present) <6>ACPI: Battery Slot [C0D7] (battery absent) |
Quote |
dmesg | grep Battery | cut -d"[" -f2 | cut -d"]" -f1 |
Quote |
changed battery thing to ${battery <filename in /proc/acpi/battery/>} |