xfce power manager shows wrong battery life information (Lbuntu 16.04.3)

Bug #1744366 reported by Mark
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
upower (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

As per title xfce power manager (version 1.4.4-4ubuntu2) on my Lubuntu 16.04.3 shows a wrong battery life. What happens is that I plug in the laptop, it tells me the battery is 100% I unplug the write and I can see after maybe 10 minutes that the battery level lowered.

I check and it gives me something like 80% and then, suddenly the laptop turns of because the battery is discharged.

When i plug it back it shows as the battery is either charging correctly or charging and the percentage is over 70%.

The battery is a few months old, so I think the problem lies in xfce power manager which displays the wrong information.Bug #1216594 opened in 2013 is very similar to my case, however that bug report was closed not because it was fixed but because it expired after 60 days.

I tried 'upower -d' and it gives me the same info as the power manager.
The output was:
Device: /org/freedesktop/UPower/devices/line_power_ADP1
  native-path: ADP1
  power supply: yes
  updated: XX XX XXX XXXX 17:58:48 GMT (815 seconds ago)
  has history: no
  has statistics: no
  line-power
    warning-level: none
    online: yes
    icon-name: 'ac-adapter-symbolic'

Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path: BAT0
  vendor: Hewlett-Packard
  model: Primary
  power supply: yes
  updated: Fri 19 Jan 2018 18:10:34 GMT (109 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
    rechargeable: yes
    state: charging
    warning-level: none
    energy: 22.2592 Wh
    energy-empty: 0 Wh
    energy-full: 26.048 Wh
    energy-full-design: 26.048 Wh
    energy-rate: 20.0392 W
    voltage: 16.444 V
    time to full: 11.3 minutes
    percentage: 85%
    capacity: 100%
    technology: lithium-ion
    icon-name: 'battery-full-charging-symbolic'
  History (charge):
    1516385434 85.000 charging
  History (rate):
    1516385434 20.039 charging

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply: yes
  updated: XX XX XXX XXXX 18:10:34 GMT (109 seconds ago)
  has history: no
  has statistics: no
  battery
    present: yes
    state: charging
    warning-level: none
    energy: 22.2592 Wh
    energy-full: 26.048 Wh
    energy-rate: 20.0392 W
    time to full: 11.3 minutes
    percentage: 85%
    icon-name: 'battery-full-charging-symbolic'

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

Any ideas?

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1744366/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → upower (Ubuntu)
Revision history for this message
Simon Quigley (tsimonq2) wrote :

Have you tried live CDs of other operating systems to see if this is a Lubuntu-specific issue?

Changed in upower (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in upower (Ubuntu):
status: Incomplete → Expired
Peter Sanza (pcsanza)
Changed in upower (Ubuntu):
status: Expired → Confirmed
Revision history for this message
Peter Sanza (pcsanza) wrote :
Download full text (4.2 KiB)

I have similar problem on xubuntu 16.04. The only problem is that it occurs with only one of my two batteries. This leads me to consider that the problem may be stemming from an interaction with the battery metadata. The odd thing about the battery (the one that instigates the faulty behavior) is that it reports an unusually high energy-full value (>65Wh) whereas the design capacity is actually much smaller (~5Wh). I speculate that this could cause confusion into the actual state of charge and may prematurely shut the laptop down....

peter@peter-Studio-1558:~$ upower -d
Device: /org/freedesktop/UPower/devices/line_power_ADP1
  native-path: ADP1
  power supply: yes
  updated: Tue 02 Jul 2019 08:01:03 AM EDT (1126 seconds ago)
  has history: no
  has statistics: no
  line-power
    warning-level: none
    online: yes
    icon-name: 'ac-adapter-symbolic'

Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path: BAT0
  vendor: SDI
  model: Dell
  serial: 36892
  power supply: yes
  updated: Tue 02 Jul 2019 08:19:03 AM EDT (46 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
    rechargeable: yes
    state: charging
    warning-level: none
    energy: 2.924 Wh
    energy-empty: 0 Wh
    energy-full: 65.509 Wh
    energy-full-design: 5.2 Wh
    energy-rate: 2.995 W
    voltage: 12.413 V
    percentage: 4%
    capacity: 100%
    technology: lithium-ion
    icon-name: 'battery-caution-charging-symbolic'
  History (rate):
    1562069943 2.995 charging

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply: yes
  updated: Tue 02 Jul 2019 08:19:03 AM EDT (46 seconds ago)
  has history: no
  has statistics: no
  battery
    present: yes
    state: charging
    warning-level: none
    energy: 2.924 Wh
    energy-full: 65.509 Wh
    energy-rate: 2.995 W
    percentage: 4%
    icon-name: 'battery-caution-charging-symbolic'

Daemon:
  daemon-version: 0.99.4
  on-battery: no
  lid-is-closed: no
  lid-is-present: yes
  critical-action: HybridSleep
peter@peter-Studio-1558:~$ upower -d
Device: /org/freedesktop/UPower/devices/line_power_ADP1
  native-path: ADP1
  power supply: yes
  updated: Tue 02 Jul 2019 08:01:03 AM EDT (1899 seconds ago)
  has history: no
  has statistics: no
  line-power
    warning-level: none
    online: yes
    icon-name: 'ac-adapter-symbolic'

Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path: BAT0
  vendor: SDI
  model: Dell
  serial: 36892
  power supply: yes
  updated: Tue 02 Jul 2019 08:31:04 AM EDT (98 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
 ...

Read more...

Revision history for this message
Peter Sanza (pcsanza) wrote :

I forgot to post the version of upower I am running:

peter@peter-Studio-1558:~$ apt show upower
Package: upower
Version: 0.99.4-2ubuntu0.3
<snip>

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.