Bug 310723

Summary: Battery status not upated
Product: [Plasma] plasma4 Reporter: Detlev Casanova <detlev.casanova>
Component: widget-batteryAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bogdan.mihaila
Priority: NOR    
Version: 4.9.3   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Detlev Casanova 2012-11-26 17:48:59 UTC
When I Remove the battery from the laptop, the proper icon shows that tthere is no battery but when I put it back, nothing happens.
The widget's popup still says "Battery : Not present" but the battery is there.
If I remove the cable, It says no no battery and no AC adapter, which is quite weird.

Each time I remove the battery, plasma-desktop says :

file:///usr/share/apps/plasma/plasmoids/battery/contents/ui/batterymonitor.qml:175: TypeError: Result of expression 'pmSource.data["Battery0"]' [undefined] is not an object.
file:///usr/share/apps/plasma/plasmoids/battery/contents/ui/batterymonitor.qml:174: TypeError: Result of expression 'pmSource.data["Battery0"]' [undefined] is not an object.
file:///usr/share/apps/plasma/plasmoids/battery/contents/ui/batterymonitor.qml:53: TypeError: Result of expression 'pmSource.data["Battery0"]' [undefined] is not an object.
file:///usr/share/apps/plasma/plasmoids/battery/contents/ui/batterymonitor.qml:52: TypeError: Result of expression 'pmSource.data["Battery0"]' [undefined] is not an object.

I'm not a qml expert so I don't really understand what's happening (There are no messages when I plug it back in).

upower properly detect the plugging and unplugging.
Comment 1 Bogdan Mihaila 2012-12-27 09:12:28 UTC
Should be a duplicate of https://bugs.kde.org/show_bug.cgi?id=301033
Comment 2 Jekyll Wu 2012-12-27 09:22:32 UTC

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