battery monitor
Posted: Thu 20 Oct 2011, 02:12
My DELL Inspiron 8100 does not work with the Pulp battery monitor (apm) - I get a blank terminal window with no information in it.
I wrote a script /usr/local/bin/bat which is
cat /proc/acpi/battery/BAT1/state
chmod +x /usr/local/bin/bat
My 8100 has no battery 0 so I used BAT1. You could have a bat0 and bat1.
(I think the floppy drive can theoretically be exchanged for another battery).
What file do I edit to replace the script that tries to display apm battery status when I left or riight click on the little picture of the battery at screen top (tray?). How about the ones at screen bottom?
I wrote a script /usr/local/bin/bat which is
cat /proc/acpi/battery/BAT1/state
chmod +x /usr/local/bin/bat
My 8100 has no battery 0 so I used BAT1. You could have a bat0 and bat1.
(I think the floppy drive can theoretically be exchanged for another battery).
What file do I edit to replace the script that tries to display apm battery status when I left or riight click on the little picture of the battery at screen top (tray?). How about the ones at screen bottom?