Bug: Battery widget only showing one battery out of two after resume from standby

Joschi Brauchle joschi.brauchle at tum.de
Tue May 13 08:21:59 UTC 2014


Hello,

I am running KDE 4.11.x on an Lenovo Thinkpad T440s with two batteries.

The KDE battery widget works fine after the initial boot and shows the 
correct values for both batteries.

But after a standby and resume cycle, in about 25% of the time, the 
battery widget is missing to display one battery (currently BAT0 is 
missing).

This is the output of "upower -d" after resume:
---------------
brauchle at mo-brauchle:~> upower -d
Device: /org/freedesktop/UPower/devices/line_power_AC
   native-path:          AC
   power supply:         yes
   updated:              Tue 13 May 2014 10:14:56 AM CEST (120 seconds ago)
   has history:          no
   has statistics:       no
   line-power
     online:             yes

Device: /org/freedesktop/UPower/devices/battery_BAT1
   native-path:          BAT1
   vendor:               LGC
   model:                45N1127
   serial:               4696
   power supply:         yes
   updated:              Tue 13 May 2014 10:16:30 AM CEST (26 seconds ago)
   has history:          yes
   has statistics:       yes
   battery
     present:             yes
     rechargeable:        yes
     state:               charging
     energy:              2.11 Wh
     energy-empty:        0 Wh
     energy-full:         23.68 Wh
     energy-full-design:  23.48 Wh
     energy-rate:         23.224 W
     voltage:             11.947 V
     time to full:        55.7 minutes
     percentage:          8%
     capacity:            100%
     technology:          lithium-ion
   History (charge):
     1399968990  8.000   charging
     1399968960  7.000   charging
     1399968930  6.000   charging
   History (rate):
     1399968990  23.224  charging
     1399968960  19.680  charging
     1399968930  27.635  charging

Device: /org/freedesktop/UPower/devices/battery_BAT0
   native-path:          BAT0
   vendor:               SONY
   model:                45N1111
   serial:               12294
   power supply:         yes
   updated:              Tue 13 May 2014 10:16:30 AM CEST (26 seconds ago)
   has history:          yes
   has statistics:       yes
   battery
     present:             yes
     rechargeable:        yes
     state:               charging
     energy:              18.26 Wh
     energy-empty:        0 Wh
     energy-full:         22.97 Wh
     energy-full-design:  23.2 Wh
     energy-rate:         0 W
     voltage:             12.002 V
     percentage:          79%
     capacity:            99.0086%
     technology:          lithium-polymer

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

Both batteries are displayed there, but the battery widget only shows 
one (BAT1) battery installed and charging.

Best regards,
Joschi Brauchle

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4739 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140513/4a55a8b9/attachment.p7s>


More information about the Plasma-devel mailing list