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





--- Comment #36 from Lorenzo Masellis <masel...@fastwebnet.it>  2011-06-26 
22:33:26 ---
Tried also the latest patch. The issue with incorrect power value seems to be
solved, anyway is is still not updating after charger reconnection. Here below
are some of the tests performed.

- Battery discharging, power_now value makes sense, upower updates regularly
and shows a reasonable time estimate for discharge:

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

- As soon as the charger is reconnected, AC power is detected correctly. upower
reports "state: fully-charged", but from this time on it stops getting updates.
Please note that at this stage the charger led is still off, as the charger
logic seems to have some delay before starting the charge.

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

- After some seconds the charger led goes on, but upower doesn't get any
updates so it continues to report "state: fully-charged" and "energy-rate: 0
W", while energy value doesn't change. In the meanwhile sysfs reports correctly
the charging status and rate:

lorenzo@castor:~$ cat /sys/class/power_supply/BAT0/status; cat
/sys/class/power_supply/BAT0/power_now 
Charging
8688000

-- 
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.

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to