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.
Should be a duplicate of https://bugs.kde.org/show_bug.cgi?id=301033
*** This bug has been marked as a duplicate of bug 301033 ***