Power notifications don't combine multiple batteries

Bug #1493462 reported by Kai Mast
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
indicator-power (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Related to #880881:

I have two batteries. One is empty, the other has 30 minutes left. I get notifications that battery status was "critically low" and that the computer will shut down soon.

Instead, it should only show this notification if both batteries have a very low status. The notification icon already seems to combine them correctly.

Revision history for this message
Charles Kerr (charlesk) wrote :

Kai, could you attach to this ticket the output of "upower --dump" from your system when it's in this state wrt the two batteries?

Changed in indicator-power (Ubuntu):
status: New → Incomplete
importance: Undecided → Medium
Revision history for this message
Kai Mast (kai-mast) wrote :

Here you go:

Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path: AC
  power supply: yes
  updated: Wed 09 Sep 2015 02:17:30 AM EDT (32347 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: SONY
  model: 45N1111
  serial: 2145
  power supply: yes
  updated: Wed 09 Sep 2015 11:15:39 AM EDT (58 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
    rechargeable: yes
    state: discharging
    warning-level: none
    energy: 19.03 Wh
    energy-empty: 0 Wh
    energy-full: 19.1 Wh
    energy-full-design: 23.2 Wh
    energy-rate: 9.142 W
    voltage: 12.274 V
    time to empty: 2.1 hours
    percentage: 99%
    capacity: 82.3276%
    technology: lithium-polymer
    icon-name: 'battery-full-symbolic'

Device: /org/freedesktop/UPower/devices/battery_BAT1
  native-path: BAT1
  vendor: SANYO
  model: 45N1125
  serial: 33934
  power supply: yes
  updated: Wed 09 Sep 2015 11:16:09 AM EDT (28 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
    rechargeable: yes
    state: discharging
    warning-level: low
    energy: 3 Wh
    energy-empty: 0 Wh
    energy-full: 19.51 Wh
    energy-full-design: 23.2 Wh
    energy-rate: 17.04 W
    voltage: 10.617 V
    time to empty: 10.6 minutes
    percentage: 16%
    capacity: 84.0948%
    technology: lithium-ion
    icon-name: 'battery-low-symbolic'
  History (charge):
    1441811769 16.000 discharging
    1441811739 17.000 discharging
  History (rate):
    1441811769 17.040 discharging
    1441811739 17.886 discharging
    1441811709 17.863 discharging

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply: yes
  updated: Wed 09 Sep 2015 11:16:09 AM EDT (28 seconds ago)
  has history: no
  has statistics: no
  battery
    present: yes
    state: discharging
    warning-level: none
    energy: 22.03 Wh
    energy-full: 38.61 Wh
    energy-rate: 26.182 W
    time to empty: 50.5 minutes
    percentage: 57.0578%
    icon-name: 'battery-good-symbolic'

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

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

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

Changed in indicator-power (Ubuntu):
status: New → Confirmed
Revision history for this message
Tom Stephens (tomtheinfguy) wrote :

I can confirm this is still the case in 15.10 when using multiple batteries. The system power indicator does not total up all remaining time from all batteries.

Revision history for this message
Antti Haapala (ztane) wrote :
Download full text (3.2 KiB)

Here as well. The battery indicator is completely erratic - it goes up and down, shows totals from one battery or another, and whatever). In addition, my laptop (Lenovo T450) has hotswappable batteries, and I got a new one with different rating. Indicator does not seem to notice that I have a larger capacity battery in (energy full is 70+Wh, energy now at 35 Wh, indicator says the battery is fully charged).

Also, I wish there was a way to always display the indicators for each battery separately.

Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path: AC
  power supply: yes
  updated: Mon 11 Jan 2016 10:47:34 AM EET (392 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: LGC
  model: 45N1113
  serial: 1210
  power supply: yes
  updated: Mon 11 Jan 2016 10:52:28 AM EET (98 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
    rechargeable: yes
    state: fully-charged
    warning-level: none
    energy: 23.22 Wh
    energy-empty: 0 Wh
    energy-full: 23.42 Wh
    energy-full-design: 23.48 Wh
    energy-rate: 4.337 W
    voltage: 12.76 V
    percentage: 99%
    capacity: 99.7445%
    technology: lithium-ion
    icon-name: 'battery-full-charged-symbolic'

Device: /org/freedesktop/UPower/devices/battery_BAT1
  native-path: BAT1
  vendor: LGC
  model: 45N1127
  serial: 10284
  power supply: yes
  updated: Mon 11 Jan 2016 10:53:32 AM EET (34 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
    rechargeable: yes
    state: charging
    warning-level: none
    energy: 36.55 Wh
    energy-empty: 0 Wh
    energy-full: 36.55 Wh
    energy-full-design: 23.48 Wh
    energy-rate: 32.179 W
    voltage: 11.592 V
    percentage: 48%
    capacity: 100%
    technology: lithium-ion
    icon-name: 'battery-good-charging-symbolic'
  History (charge):
    1452502412 48.000 charging
  History (rate):
    1452502412 32.179 charging

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply: yes
  updated: Mon 11 Jan 2016 10:53:32 AM EET (34 seconds ago)
  has history: no
  has statistics: no
  battery
    present: yes
    state: charging
    warning-level: none
    energy: 59.77 Wh
    energy-full: 59.97 Wh
    energy-rate: 36.516 W
    time to full: 19 seconds
    percentage: 99.6665%
    icon-name: 'battery-full-charging-symbolic'

Daemon:
  daemon-version: 0.99.3
  on-battery: no
  l...

Read more...

tags: added: rls-x-incoming wily xenial
Will Cooke (willcooke)
tags: added: rls-x-notfixing
removed: rls-x-incoming
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.