Power indicator shows wrong time left to charge on Lenovo Ideapad Y580

Bug #1219942 reported by Alexandru Bolboaca
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
upower (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The power indicator shows time left to charge being 5, 4, 3, 2, 1 or "Time left unknown" instead of the real duration.

The time left on battery power is correctly computed. When I remove the power, it takes a little bit until it switches from the wrong duration to charge to the real time left on battery power, sometimes going to sleep as a result of thinking it has little power left.

See the screenshot for the displayed value.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: indicator-power 12.10.6daily13.03.07-0ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-29.42-generic 3.8.13.5
Uname: Linux 3.8.0-29-generic i686
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: i386
Date: Mon Sep 2 21:11:00 2013
InstallationDate: Installed on 2013-01-09 (236 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.2)
MarkForUpload: True
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: indicator-power
UpgradeStatus: Upgraded to raring on 2013-09-01 (1 days ago)

Revision history for this message
Alexandru Bolboaca (alex-boly) wrote :
Revision history for this message
Daniel Letzeisen (dtl131) wrote :
Revision history for this message
Charles Kerr (charlesk) wrote :

Alexandru, the next time this happens could you attach a new screenshot -and- the output of "upower --dump"? indicator-power gets the time remaining from upower, so I'd like to see whether the information in "upower --dump" shows the same error or whether indicator-power is introducing the bug itself.

Changed in indicator-power (Ubuntu):
status: New → Incomplete
Revision history for this message
Alexandru Bolboaca (alex-boly) wrote :
Download full text (3.6 KiB)

Sure. See the attached photo for the charging battery and two dumps: when charging (and showing the wrong time left) and discharging (and showing the correct time left).

upower --dump when charging
========================

Device: /org/freedesktop/UPower/devices/line_power_ACAD
  native-path: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/ACPI0003:00/power_supply/ACAD
  power supply: yes
  updated: Fri Oct 4 09:09:22 2013 (34 seconds ago)
  has history: no
  has statistics: no
  line-power
    online: yes

Device: /org/freedesktop/UPower/devices/battery_BAT1
  native-path: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/PNP0C0A:00/power_supply/BAT1
  vendor: SANYO
  model: PABAS0241231
  serial: 41167
  power supply: yes
  updated: Fri Oct 4 09:09:28 2013 (28 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
    rechargeable: yes
    state: charging
    energy: 4.229 Wh
    energy-empty: 0 Wh
    energy-full: 5.989 Wh
    energy-full-design: 6.271 Wh
    energy-rate: 64.23 W
    voltage: 11.621 V
    time to full: 1.6 minutes
    percentage: 70.6128%
    capacity: 95.5031%
    technology: lithium-ion
  History (charge):
    1380874162 70.613 charging
    1380874152 70.696 discharging
    1380874122 70.963 discharging
    1380874092 71.214 discharging
  History (rate):
    1380874168 64.230 charging
    1380874164 65.325 charging
    1380874162 1.243 charging
    1380874152 1.324 discharging
    1380874122 1.359 discharging
    1380874092 1.187 discharging

Daemon:
  daemon-version: 0.9.20
  can-suspend: yes
  can-hibernate: no
  on-battery: no
  on-low-battery: no
  lid-is-closed: no
  lid-is-present: yes
  is-docked: no

upower --dump when discharging
==========================

Device: /org/freedesktop/UPower/devices/line_power_ACAD
  native-path: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/ACPI0003:00/power_supply/ACAD
  power supply: yes
  updated: Thu Oct 3 18:24:25 2013 (53080 seconds ago)
  has history: no
  has statistics: no
  line-power
    online: no

Device: /org/freedesktop/UPower/devices/battery_BAT1
  native-path: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/PNP0C0A:00/power_supply/BAT1
  vendor: SANYO
  model: PABAS0241231
  serial: 41167
  power supply: yes
  updated: Fri Oct 4 09:08:42 2013 (23 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
    rechargeable: yes
    state: discharging
    energy: 4.25 Wh
    energy-empty: 0 Wh
    energy-full: 5.989 Wh
    energy-full-design: 6.271 Wh
    energy-rate: 1.359 W
    voltage: 11.298 V
    time to empty: 3.1 hours
    percentage: 70.9634%
    ca...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for indicator-power (Ubuntu) because there has been no activity for 60 days.]

Changed in indicator-power (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Alexandru Bolboaca (alex-boly) wrote :

I see the bug was marked as expired, although it's still happening after upgrade to 13.10

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

(Sorry about that, Alexandru. The report expired because of a bug in Launchpad, bug 196590.)

Changed in indicator-power (Ubuntu):
status: Expired → New
Revision history for this message
Charles Kerr (charlesk) wrote :

> time to full: 1.6 minutes
> percentage: 70.6128%

Looks like indicator-power is correctly reporting the incorrect stats fed to it by upower.

affects: indicator-power (Ubuntu) → upower (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in upower (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.