[Pkg-xfce-devel] Bug#629265: Bug#629265: Bug#629265: Broken empty battery icon on system tray

Kim Holviala kim at holviala.com
Sun Jun 5 10:17:54 UTC 2011

On 2011-06-05 13:00, Yves-Alexis Perez wrote:

>> Three different dumps attached. It's BAT1 that's showing the wrong icon
>> when it's empty and the laptop is not plugged in.
> Assuming this is the third log, this is because BAT1 is not marked as
> “empty” but discharging, with a very low charge. I guess the laptop is
> switching battery before BAT1 is empty to prevent power outage or
> something like that.

Actually, the problem is the first log "upower-dump-0-perc.txt" (upower 
dump at 0 percent, copy&pasted below). In that log the state of BAT1 is 
"empty" as it should be, but the relevat icon is apparently not found 
and an placeholder default icon is used instead.

The two other dumps (4 percent and charging) show situations where the 
icon is correctly displayed.

- Kim

Device: /org/freedesktop/UPower/devices/battery_BAT1
   vendor:               SONY
   model:                42T4642
   serial:               84
   power supply:         yes
   updated:              Sun Jun  5 12:23:08 2011 (19 seconds ago)
   has history:          yes
   has statistics:       yes
     present:             yes
     rechargeable:        yes
     state:               empty
     energy:              0 Wh
     energy-empty:        0 Wh
     energy-full:         23.41 Wh
     energy-full-design:  23.74 Wh
     energy-rate:         0 W
     voltage:             11.007 V
     percentage:          0%
     capacity:            93.0076%
     technology:          lithium-polymer

More information about the Pkg-xfce-devel mailing list