Bug 303812

Summary: Power applet in KDE4,9 cannot read change of battery state (Unity can)
Product: [Unmaintained] plasma4 Reporter: Tom Kijas <t.kijas>
Component: widget-batteryAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: major CC: jr, t.kijas
Priority: NOR    
Version: 4.9-git   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tom Kijas 2012-07-19 17:27:23 UTC
Hi, I try KDE4,9 and I fond it cannot read my battery state. It can read it after I login to KDE and can read (un)plugging AC, but cannot read the change of battery state.
Comment 1 Tom Kijas 2012-07-19 17:55:36 UTC
It seems the detection just stops to work after some time....
output from "qdbus --system org.freedesktop.UPower /org/freedesktop/UPower/devices/battery_BAT0 org.freedesktop.UPower.Device.Percentage" when the detection is OK:
97.7599738391105

And the detections stops just right in the moment I plugin AC power.:

96.3374754741661... etc.

stats in /proc/acpi/battery/BAT0/state are changing...:
tomas@tom-MacBookAir:~/Dokumenty$ cat /proc/acpi/battery/BAT0/state
present:                 yes
capacity state:          ok
charging state:          discharging
present rate:            28787 mW
remaining capacity:      58760 mWh
present voltage:         8091 mV
tomas@tom-MacBookAir:~/Dokumenty$ cat /proc/acpi/battery/BAT0/state
present:                 yes
capacity state:          ok
charging state:          charged
present rate:            0 mW
remaining capacity:      58700 mWh
present voltage:         8252 mV
Comment 2 Jonathan Riddell 2012-07-24 19:13:55 UTC
I can confirm this in kubuntu quantal using alpha 3 candidate images
Comment 3 Jonathan Riddell 2012-07-24 19:18:06 UTC
reported as https://bugs.launchpad.net/ubuntu/+source/kdebase-workspace/+bug/1028591
Comment 4 markuss 2012-07-30 23:12:28 UTC

*** This bug has been marked as a duplicate of bug 302310 ***