On Thursday 19 June 2003 14:06, sjb wrote:
Rob Tow wrote:
BUT it always says 0:00 minutes left! And gives spurious warnings on login about no charge remaining, even tho the icon show s battery with lots of charge.
How to fix THAT?
Umm. Assuming you've either rebooted or started the ACPI daemon ("rcacpid start") ..
First thing to check is that the required ACPI modules have been loaded. Try a "lsmod" in a terminal and look for entries like these ..
button 2380 0 (unused) thermal 6020 0 (unused) battery 5600 0 (unused) processor 8184 0 [thermal] fan 1472 0 (unused)
If that seems ok, try
cat /proc/acpi/battery/BAT1/state
present: yes capacity state: ok charging state: charging present rate: 4851 mW remaining capacity: 19060 mWh present voltage: 12600 mV
What do you see?
sjb
The modules are all there. BUT the "present rate" is zero!!! both when plugged in and when not plugged in. What does thsat imply? linux:/home/musashi # cat /proc/acpi/battery/BAT1/state present: yes capacity state: ok charging state: charging present rate: 0 mA remaining capacity: 3680 mAh present voltage: 14800 mV linux:/home/musashi # !! cat /proc/acpi/battery/BAT1/state present: yes capacity state: ok charging state: discharging present rate: 0 mA remaining capacity: 3640 mAh present voltage: 14800 mV