Site News :: DSL v4.1



Thanks for reporting. Will implement.
Quote (mhatch @ Dec. 05 2007,21:11)
The real file (for my config) is
/proc/acpi/battery/BAT1

My battery shows up as:

Code Sample

<6>ACPI: Battery Slot [C0D6] (battery present)
<6>ACPI: Battery Slot [C0D7] (battery absent)


Robert, can you read the dmesg information and use the data dynamically?

Sure.. Try this:
Quote
dmesg | grep Battery | cut -d"[" -f2 | cut -d"]" -f1

Does anyone have their battery identified as MBAT0 or MBAT1 ?
Or any other variaton of BAT?
If so please post your /proc/acpi/battery.
If you manually edit your .torsmorc file with the actual name does it then display properly?

v.017 would only accept battery and battery 1.

I don't have anyway to test acpi, but it seems that v0.18 now accepts the battery name as found in /proc/acpi/battery

battery BAT1

Except when using apm, as I do. I have no /proc/acpi/battery
and the default generic battery works well on my Thinkpad TP240

I would have thought the torsmo scripts would attempt to handle this.

The Toshiba Libretto 100CT uses MBAT as the battery name (no number after it) & works flawlessley. From the changelog for torsmo v0.18:

Quote
changed battery thing to ${battery <filename in /proc/acpi/battery/>}


Thus to have anything other than the default of BAT0 the directory name for the battery used in /proc/acpi/battery must be provided in full (e.g. ${battery BAT1} , ${battery MBAT},...).

Next Page...
original here.