Comment 13 for bug 104794

Revision history for this message
Luka Renko (lure) wrote :

This bug was fixed just before the release with proper patch:

@@ -184,7 +191,10 @@
             if properties["battery.rechargeable.is_charging"]:
                 state = "charging"
             elif properties["battery.rechargeable.is_discharging"]:
- state = "discharging"
+ if self.onBattery():
+ state = "discharging"
+ else:
+ state = "charged"
             elif not properties["battery.rechargeable.is_discharging"] \
                  and not properties["battery.rechargeable.is_charging"]:

If you still get this bug with up-to-date feisty, feel free to re-open the bug.