Commit da0db9ac authored by Marco Martin's avatar Marco Martin

fix charging state of battery applet

parent 2163b4fe
......@@ -152,7 +152,9 @@ Item {
Layout.fillHeight: true
hasBattery: true
pluggedIn:["AC Adapter"]["Plugged in"]
pluggedIn:["Battery"]["State"] == "Charging"
//FIXME: AC Adapter is not present there
//["AC Adapter"]["Plugged in"]
// height: batteryContainer.iconSize
// width: height
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment