Public bug reported:

Binary package hint: kde-guidance

If battery fully changed, guidance-power-manager switch to dischanging
(battery powered) on my Notebook. ACPI state switch to dischanging with
rate 0 while ac powered.

--- kde-guidance-0.8.0/powermanager/powermanage.py      2007-04-09 
14:57:13.000000000 +0200
+++ kde-guidance-0.8.0/powermanager/powermanage.py      2007-04-09 
15:27:21.000000000 +0200
@@ -184,7 +184,10 @@
             if properties["battery.rechargeable.is_charging"]:
                 state = "charging"
             elif properties["battery.rechargeable.is_discharging"]:
-                state = "discharging"
+                if rate:
+                    state = "discharging"
+                else:
+                    state = "charged"
             elif not properties["battery.rechargeable.is_discharging"] \
                  and not properties["battery.rechargeable.is_charging"]:
                 if current == 0:

** Affects: kde-guidance (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
guidance-power-manager shows dischanging if battery full
https://bugs.launchpad.net/bugs/104794
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kde-guidance in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to