← Back to team overview

desktop-packages team mailing list archive

[Bug 1435601] Re: [vivid] After resume, upower reports critically low battery

 

I've also encountered this bug, first thinking it was a bug with the KDE
battery indicator applet. Upower is giving incorrect energy-full values
when this is happening. I've attached my 'upower -d' output from when
this is happening, you can see that the energy-full values are way to
high. Restarting the upower.service solves the problem.

** Attachment added: "upower output when bug occurs"
   https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1435601/+attachment/4396660/+files/upower.txt

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1435601

Title:
  [vivid] After resume, upower reports critically low battery

Status in upower package in Ubuntu:
  Confirmed

Bug description:
  Version:
  Ubuntu Vivid 15.04

  Reproduce (often):
  1. Close lid
  2. After some time, open lid.

  What happens:
  I get a notification that the battery is critically low and the laptop hibernates.

  What should happen:
  The laptop should not hibernate.

  This is a upower dump from a normal situation. I will try to record a dump in an abnormal situation where the laptop is about to shut down.
  $ upower --dump #normal
  Device: /org/freedesktop/UPower/devices/line_power_ADP0
    native-path:          ADP0
    power supply:         yes
    updated:              Mon 23 Mar 2015 11:44:49 PM CET (29 seconds ago)
    has history:          no
    has statistics:       no
    line-power
      warning-level:       none
      online:              no
      icon-name:          'ac-adapter-symbolic'

  Device: /org/freedesktop/UPower/devices/battery_BAT0
    native-path:          BAT0
    vendor:               SIMPLO
    model:                Dell
    serial:               1180
    power supply:         yes
    updated:              Mon 23 Mar 2015 11:44:49 PM CET (29 seconds ago)
    has history:          yes
    has statistics:       yes
    battery
      present:             yes
      rechargeable:        yes
      state:               discharging
      warning-level:       none
      energy:              22.3184 Wh
      energy-empty:        0 Wh
      energy-full:         40.3596 Wh
      energy-full-design:  47.286 Wh
      energy-rate:         8.7616 W
      voltage:             7.644 V
      time to empty:       2.5 hours
      percentage:          55%
      capacity:            85.3521%
      technology:          lithium-ion
      icon-name:          'battery-good-symbolic'
    History (charge):
      1427150688	55.000	discharging
      1427150688	0.000	unknown
      1427150677	55.000	discharging
    History (rate):
      1427150688	8.762	discharging
      1427150688	0.000	unknown
      1427150688	8.762	discharging
      1427150677	11.625	discharging

  Device: /org/freedesktop/UPower/devices/DisplayDevice
    power supply:         yes
    updated:              Mon 23 Mar 2015 11:44:48 PM CET (30 seconds ago)
    has history:          no
    has statistics:       no
    battery
      present:             yes
      state:               discharging
      warning-level:       none
      energy:              22.3184 Wh
      energy-full:         40.3596 Wh
      energy-rate:         8.7616 W
      time to empty:       2.5 hours
      percentage:          55%
      icon-name:          'battery-good-symbolic'

  Daemon:
    daemon-version:  0.99.2
    on-battery:      yes
    lid-is-closed:   no
    lid-is-present:  yes
    critical-action: HybridSleep

  
  This is a upower dump from an abnormal situation where the battery is known to be at 53% (and it's recorded 6 minutes after the one above), but still is being reported as critical and subsequently puts the laptop to sleep:

  upower --dump
  Device: /org/freedesktop/UPower/devices/line_power_ADP0
    native-path:          ADP0
    power supply:         yes
    updated:              Mon 23 Mar 2015 11:50:23 PM CET (15 seconds ago)
    has history:          no
    has statistics:       no
    line-power
      warning-level:       none
      online:              no
      icon-name:          'ac-adapter-symbolic'

  Device: /org/freedesktop/UPower/devices/battery_BAT0
    native-path:          BAT0
    vendor:               SIMPLO
    model:                Dell
    serial:               1180
    power supply:         yes
    updated:              Mon 23 Mar 2015 11:50:23 PM CET (15 seconds ago)
    has history:          yes
    has statistics:       yes
    battery
      present:             yes
      rechargeable:        yes
      state:               discharging
      warning-level:       none
      energy:              21.3194 Wh
      energy-empty:        0 Wh
      energy-full:         40.3596 Wh
      energy-full-design:  47.286 Wh
      energy-rate:         8.1918 W
      voltage:             7.64 V
      time to empty:       2.6 hours
      percentage:          52%
      capacity:            85.3521%
      technology:          lithium-ion
      icon-name:          'battery-good-symbolic'
    History (charge):
      1427151023	52.000	discharging
      1427151023	0.000	unknown
      1427151022	0.000	empty
      1427150929	53.000	discharging
    History (rate):
      1427151023	8.192	discharging
      1427151023	0.000	unknown
      1427151022	0.000	empty
      1427150929	11.529	discharging

  Device: /org/freedesktop/UPower/devices/DisplayDevice
    power supply:         yes
    updated:              Mon 23 Mar 2015 11:50:23 PM CET (15 seconds ago)
    has history:          no
    has statistics:       no
    battery
      present:             yes
      state:               discharging
      warning-level:       none
      energy:              21.3194 Wh
      energy-full:         40.3596 Wh
      energy-rate:         8.1918 W
      time to empty:       2.6 hours
      percentage:          52%
      icon-name:          'battery-good-symbolic'

  Daemon:
    daemon-version:  0.99.2
    on-battery:      yes
    lid-is-closed:   no
    lid-is-present:  yes
    critical-action: HybridSleep

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1435601/+subscriptions


References