Bug 23177 - Wrongly consider batteries as fully charged when plugging AC
Summary: Wrongly consider batteries as fully charged when plugging AC
Status: RESOLVED MOVED
Alias: None
Product: upower
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
: 23176 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-06 08:02 UTC by Sebastien Bacher
Modified: 2018-06-04 13:31 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Sebastien Bacher 2009-08-06 08:02:08 UTC
Using devkit-power 010 and gnome-power-manager 2.27.5 on karmic there is often a battery fully charged displayed when pluggin back a laptop on ac when the battery is not fully charged, the bug happens on several hardware details available if required$ devkit-power --monitor-detail
Monitoring activity from the power daemon. Press Ctrl+C to cancel.
device changed:     /org/freedesktop/DeviceKit/Power/devices/battery_BAT0
  native-path:          /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0
  vendor:               SMP
  model:                DELL DU1397
  serial:               2239
  power supply:         yes
  updated:              Thu Aug  6 15:46:11 2009 (0 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    energy:              64.269 Wh
    energy-empty:        0 Wh
    energy-full:         86.58 Wh
    energy-full-design:  86.58 Wh
    energy-rate:         16.9719 W
    voltage:             12.302 V
    time to empty:       3.8 hours
    percentage:          74.2308%
    capacity:            80.6026%
    technology:          lithium-ion
  History (charge):
    1249569971	74.231	discharging
    1249569938	74.333	fully-charged
    1249569933	74.372	discharging
    1249569910	74.564	discharging
    1249569880	74.654	discharging
  History (rate):
    1249569971	16.972	discharging
    1249569938	15.995	fully-charged
    1249569933	0.011	discharging
    1249569910	25.652	discharging
    1249569880	19.492	discharging



device changed:     /org/freedesktop/DeviceKit/Power/devices/line_power_AC
  native-path:          /sys/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC
  power supply:         yes
  updated:              Thu Aug  6 15:46:24 2009 (0 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    online:             yes

device changed:     /org/freedesktop/DeviceKit/Power/devices/battery_BAT0
  native-path:          /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0
  vendor:               SMP
  model:                DELL DU1397
  serial:               2239
  power supply:         yes
  updated:              Thu Aug  6 15:46:27 2009 (0 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               fully-charged
    energy:              64.1358 Wh
    energy-empty:        0 Wh
    energy-full:         86.58 Wh
    energy-full-design:  86.58 Wh
    energy-rate:         0.0111 W
    voltage:             12.483 V
    percentage:          74.0769%
    capacity:            80.6026%
    technology:          lithium-ion
  History (charge):
    1249569987	74.077	fully-charged
    1249569971	74.231	discharging
    1249569938	74.333	fully-charged
    1249569933	74.372	discharging
    1249569910	74.564	discharging
    1249569880	74.654	discharging
  History (rate):
    1249569987	0.011	fully-charged
    1249569971	16.972	discharging
    1249569938	15.995	fully-charged
    1249569933	0.011	discharging
    1249569910	25.652	discharging
    1249569880	19.492	discharging

device changed:     /org/freedesktop/DeviceKit/Power/devices/battery_BAT0
  native-path:          /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0
  vendor:               SMP
  model:                DELL DU1397
  serial:               2239
  power supply:         yes
  updated:              Thu Aug  6 15:46:29 2009 (0 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    energy:              64.1358 Wh
    energy-empty:        0 Wh
    energy-full:         86.58 Wh
    energy-full-design:  86.58 Wh
    energy-rate:         0.0111 W
    voltage:             12.532 V
    percentage:          74.0769%
    capacity:            80.6026%
    technology:          lithium-ion
  History (charge):
    1249569987	74.077	fully-charged
    1249569971	74.231	discharging
    1249569938	74.333	fully-charged
    1249569933	74.372	discharging
    1249569910	74.564	discharging
    1249569880	74.654	discharging
  History (rate):
    1249569987	0.011	fully-charged
    1249569971	16.972	discharging
    1249569938	15.995	fully-charged
    1249569933	0.011	discharging
    1249569910	25.652	discharging
    1249569880	19.492	discharging"

log with unplugging ac, waiting and plugging it back the bubble was displayed

"
Comment 1 Sebastien Bacher 2009-08-06 08:02:39 UTC
*** Bug 23176 has been marked as a duplicate of this bug. ***
Comment 2 Martin Pitt 2009-10-01 11:46:47 UTC
There's another report about that with this debug info: http://launchpadlibrarian.net/30846231/gnome-power-bugreport.txt
Comment 3 Bastien Nocera 2013-10-20 21:51:00 UTC
Does this still happen?
Comment 4 Mike C 2013-10-24 19:15:26 UTC
Is this KDE bug report related?

https://bugs.kde.org/show_bug.cgi?id=326332
Comment 5 Bastien Nocera 2013-10-25 18:39:18 UTC
(In reply to comment #4)
> Is this KDE bug report related?
> 
> https://bugs.kde.org/show_bug.cgi?id=326332

No. This bug is only about the charge history. You'll want to file a separate bug and attach the output of "upower -d".
Comment 6 GitLab Migration User 2018-06-04 13:31:45 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/upower/upower/issues/61.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.