Comment 37 for bug 270123

Revision history for this message
Hans-Dominik (hdm-mail) wrote :

inspired by last mesage i have a look at /proc/acpi/battery/BAT0/state

and for me it looks like this is set wrong while ac_adapter state is still working correct

-

if AC_Adaptor is pluged

cat /proc/acpi/battery/BAT0/state

present: yes
capacity state: ok
charging state: discharging
present rate: 0 mA
remaining capacity: 4383 mAh
present voltage: 12382 mV

if AC_Adaptor unpluged

cat /proc/acpi/battery/BAT0/state
present: yes
capacity state: ok
charging state: charged
present rate: 2047 mA
remaining capacity: 4165 mAh
present voltage: 12066 mV