[Bug 104794] Re: guidance-power-manager shows dischanging if battery full
Robert Gerlach
khnz at gmx.de
Tue Apr 10 17:30:21 UTC 2007
My patch is completely wrong, rate is uninitialized there. Instead of rate we can check for ac powered.
Sorry
--- powermanage.py 2007-04-10 19:28:13.000000000 +0200
+++ /usr/share/python-support/kde-guidance/powermanage.py 2007-04-10 19:28:30.000000000 +0200
@@ -184,7 +184,7 @@
if properties["battery.rechargeable.is_charging"]:
state = "charging"
elif properties["battery.rechargeable.is_discharging"]:
- if rate:
+ if self.onBattery():
state = "discharging"
else:
state = "charged"
--
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.
More information about the kubuntu-bugs
mailing list