Comment 2 for bug 66094

Revision history for this message
Thomas Tonino (ttonino) wrote :

It may be a kernel problem. When I unplug AC on my MSI S270-type laptop, I see the following:

ttonino@flappie:~$ cat /proc/acpi/battery/BAT1/state
present: yes
capacity state: ok
charging state: discharging
present rate: 65535 mA
remaining capacity: 4296 mAh
present voltage: 16717 mV

The current sensed is way too high for a moment.

Gnome reports the battery is 99% charged but only 4 minutes are left.

A workaround could be to ignore invalid discharge rates. Perhaps the faulty value is always 65535 mA, or be 10 amps as nonsense.

It seems the new gnome power manager averages the power usage; don't use the faulty values to update the running average.