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
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
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org