https://bugzilla.kernel.org/show_bug.cgi?id=24492





--- Comment #23 from Lorenzo Masellis <masel...@fastwebnet.it>  2011-06-18 
09:53:26 ---
Correction: the main object of the bug is only partially solved.

While discharging the values are updated regularly, BUT if during discharge the
charger is connected, updating stops and battery is reported as full, even if
it is in fact charging.

Example:

- Battery discharging, regular updates every 30 s:

lorenzo@castor:~$ cat /sys/class/power_supply/BAT0/status 
Discharging

- At partial discharge, charger is reconnected and battery begins charging
(charger led goes on):

lorenzo@castor:~$ cat /sys/class/power_supply/BAT0/status 
Full

- From this point on, the battery is reported as full (even if it isn't) and no
further updates are performed (no new dots on gnome-power-manager).

- Reading battery status from procfs performs a single update, but doesn't
restore regular updating:

lorenzo@castor:~$ cat /proc/acpi/battery/BAT0/state 
present:                 yes
capacity state:          ok
charging state:          charging
present rate:            5024 mW
remaining capacity:      22140 mWh
present voltage:         16795 mV
lorenzo@castor:~$ cat /sys/class/power_supply/BAT0/status 
Charging

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to