← Back to team overview

registry team mailing list archive

[Bug 531190] Re: upower (devkit-power) reporting bad data when AC cable is unplugged

 

Launchpad has imported 1 comments from the remote bug at
http://bugs.freedesktop.org/show_bug.cgi?id=27399.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2010-03-31T09:15:30+00:00 Michael Biebl wrote:

Immediately after AC unplug, upower is showing incorrect numbers for remaining time.
In my particular case, the battery is fully charged, I then unplug, and g-p-m pops up a dialog, saying that I have 3 minutes left before my battery is empty (which is obviously bogus). After a short period of time (usually a matter of 30+ secs), the values reported by upower are correct.

This might actually be a kernel/hardware problem, reporting incorrect
current_now values (as shown in the referenced downstream bug reports
[1][2])

Nonetheless, upower should probably workaround this by either:
a/ having some sanity checks to ignore unreasonable high/low (static) values
b/ ignore current values for say 60secs after ac unplug
c/ compute the mean values for properties like current_now and filter values which exceed a certain ratio
d/ other ideas?


Please also see the relevant downstream bug reports:
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571161
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574850

Reply at: https://bugs.launchpad.net/devicekit-
power/+bug/531190/comments/6


** Changed in: devicekit-power
       Status: Unknown => Confirmed

** Changed in: devicekit-power
   Importance: Unknown => Medium

** Bug watch added: Debian Bug tracker #574850
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574850

-- 
upower (devkit-power) reporting bad data when AC cable is unplugged
https://bugs.launchpad.net/bugs/531190
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.