On 2011-06-05 10:48, Yves-Alexis Perez wrote:

After upgrading to XFCE 4.8 the icon for "empty battery" on the system
tray broke. I have two batteries, and when the first one is empty
and I'm _not_ plugged in I get the default "no icon found" icon for
that battery instead of the "empty battery" one.

Could you check what 'upower --dump' returns in the same situations?

Three different dumps attached. It's BAT1 that's showing the wrong icon when it's empty and the laptop is not plugged in.

The missing icon isn't caused by icon theme either because I've tried with several different themes.


- Kim


Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path:          
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/PNP0C09:00/ACPI0003:00/power_supply/AC
  power supply:         yes
  updated:              Sun Jun  5 10:57:16 2011 (5171 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    online:             no

Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path:          
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/PNP0C09:00/PNP0C0A:00/power_supply/BAT0
  vendor:               SANYO
  model:                42T4643
  serial:               982
  power supply:         yes
  updated:              Sun Jun  5 12:23:08 2011 (19 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    energy:              37.08 Wh
    energy-empty:        0 Wh
    energy-full:         40.97 Wh
    energy-full-design:  43.2 Wh
    energy-rate:         12.086 W
    voltage:             12.123 V
    time to empty:       3.1 hours
    percentage:          90.5052%
    capacity:            94.838%
    technology:          lithium-ion
  History (charge):
    1307265788  90.505  discharging
    1307265758  90.774  discharging
    1307265728  91.018  discharging
    1307265697  91.335  discharging
  History (rate):
    1307265788  12.086  discharging
    1307265758  11.582  discharging
    1307265728  12.003  discharging
    1307265697  16.899  discharging

Device: /org/freedesktop/UPower/devices/battery_BAT1
  native-path:          
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/PNP0C09:00/PNP0C0A:01/power_supply/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
  battery
    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

Daemon:
  daemon-version:  0.9.10
  can-suspend:     yes
  can-hibernate    no
  on-battery:      yes
  on-low-battery:  no
  lid-is-closed:   no
  lid-is-present:  yes
  is-docked:       no
Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path:          
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/PNP0C09:00/ACPI0003:00/power_supply/AC
  power supply:         yes
  updated:              Sun Jun  5 12:23:34 2011 (11 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    online:             yes

Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path:          
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/PNP0C09:00/PNP0C0A:00/power_supply/BAT0
  vendor:               SANYO
  model:                42T4643
  serial:               982
  power supply:         yes
  updated:              Sun Jun  5 12:23:38 2011 (7 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    energy:              36.99 Wh
    energy-empty:        0 Wh
    energy-full:         40.97 Wh
    energy-full-design:  43.2 Wh
    energy-rate:         9.014 W
    voltage:             12.365 V
    time to full:        26.5 minutes
    percentage:          90.2856%
    capacity:            94.838%
    technology:          lithium-ion
  History (charge):
    1307265818  90.286  charging
    1307265815  90.261  fully-charged
    1307265814  90.286  fully-charged
    1307265788  90.505  discharging
    1307265758  90.774  discharging
    1307265728  91.018  discharging
  History (rate):
    1307265818  9.014   charging
    1307265814  0.000   fully-charged
    1307265788  12.086  discharging
    1307265758  11.582  discharging
    1307265728  12.003  discharging

Device: /org/freedesktop/UPower/devices/battery_BAT1
  native-path:          
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/PNP0C09:00/PNP0C0A:01/power_supply/BAT1
  vendor:               SONY
  model:                42T4642
  serial:               84
  power supply:         yes
  updated:              Sun Jun  5 12:23:38 2011 (7 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    energy:              0 Wh
    energy-empty:        0 Wh
    energy-full:         23.41 Wh
    energy-full-design:  23.74 Wh
    energy-rate:         0 W
    voltage:             11.013 V
    percentage:          0%
    capacity:            93.0076%
    technology:          lithium-polymer

Daemon:
  daemon-version:  0.9.10
  can-suspend:     yes
  can-hibernate    no
  on-battery:      no
  on-low-battery:  no
  lid-is-closed:   no
  lid-is-present:  yes
  is-docked:       no
Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path:          
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/PNP0C09:00/ACPI0003:00/power_supply/AC
  power supply:         yes
  updated:              Sun Jun  5 10:57:16 2011 (3962 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    online:             no

Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path:          
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/PNP0C09:00/PNP0C0A:00/power_supply/BAT0
  vendor:               SANYO
  model:                42T4643
  serial:               982
  power supply:         yes
  updated:              Sun Jun  5 12:02:51 2011 (27 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    energy:              40.45 Wh
    energy-empty:        0 Wh
    energy-full:         40.97 Wh
    energy-full-design:  43.2 Wh
    energy-rate:         0 W
    voltage:             12.502 V
    percentage:          98.7308%
    capacity:            94.838%
    technology:          lithium-ion

Device: /org/freedesktop/UPower/devices/battery_BAT1
  native-path:          
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/PNP0C09:00/PNP0C0A:01/power_supply/BAT1
  vendor:               SONY
  model:                42T4642
  serial:               84
  power supply:         yes
  updated:              Sun Jun  5 12:03:02 2011 (16 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    energy:              0.96 Wh
    energy-empty:        0 Wh
    energy-full:         23.41 Wh
    energy-full-design:  23.74 Wh
    energy-rate:         14.691 W
    voltage:             10.779 V
    time to empty:       3.9 minutes
    percentage:          4.10081%
    capacity:            93.0076%
    technology:          lithium-polymer
  History (charge):
    1307264582  4.101   discharging
    1307264552  4.656   discharging
    1307264546  4.784   discharging
    1307264542  4.870   discharging
    1307264512  5.596   discharging
  History (rate):
    1307264583  14.691  discharging
    1307264552  15.171  discharging
    1307264546  15.444  discharging
    1307264543  15.764  discharging
    1307264513  17.166  discharging

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

Reply via email to