diff --git a/kded/plugins/battery/batteryplugin.cpp b/kded/plugins/battery/batteryplugin.cpp index 074acdf8e..4ab995174 100644 --- a/kded/plugins/battery/batteryplugin.cpp +++ b/kded/plugins/battery/batteryplugin.cpp @@ -62,7 +62,7 @@ bool BatteryPlugin::receivePackage(const NetworkPackage& np) int currentCharge = np.get("currentCharge"); int thresholdEvent = np.get("thresholdEvent", (int)ThresholdNone); - if (batteryDbusInterface->isCharging() != currentCharge + if (batteryDbusInterface->charge() != currentCharge || batteryDbusInterface->isCharging() != isCharging ) { batteryDbusInterface->updateValues(isCharging, currentCharge);