On my Compaq Armada, the battery state appears to be stored in /proc/acpi/battery/C0D5.
However in .torsmorc, when I put the dir name or full path in the $battery parameter, Torsmo instead reports that it cannot open the path /proc/acpu/battery/BAT1074929595/state
What am I missing?I'm also interested in this. Earlier today, I edited .torsmorc and added the bit "BAT1" to the $battery section. Can't remember specifics. Torsmo complains that there's no battery at "/proc/acpi/battery/BAT12458345268" or some crap. Why does it do this?You need the newer version of torsmo 0.18. It allows for different battery path names. You can get this from sourceforge, or I have a copy that I can send (I'll try & remember to submit it to the repositry).Create a symlink between torsmo's battery path and your battery path. Works for me.
Quote (lucky13 @ May 10 2007,07:56)
Create a symlink between torsmo's battery path and your battery path. Works for me.
I am unable to create a symlink to /proc/acpi/battery/C0D5 as /proc/acpi/battery/BAT0 ("No such file or directory")