From 2fd79140cb7f756717e336477dd82fd90b4cf3d0 Mon Sep 17 00:00:00 2001 From: Jens Date: Mon, 5 Sep 2022 23:53:22 +0200 Subject: [PATCH] possible fix --- .../java/com/jens/automation2/receivers/BatteryReceiver.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/jens/automation2/receivers/BatteryReceiver.java b/app/src/main/java/com/jens/automation2/receivers/BatteryReceiver.java index 8ca58b36..e365ade8 100644 --- a/app/src/main/java/com/jens/automation2/receivers/BatteryReceiver.java +++ b/app/src/main/java/com/jens/automation2/receivers/BatteryReceiver.java @@ -132,6 +132,7 @@ public class BatteryReceiver extends BroadcastReceiver implements AutomationList switch(status) { + case BatteryManager.BATTERY_STATUS_CHARGING: case BatteryManager.BATTERY_STATUS_FULL: Miscellaneous.logEvent("i", "BatteryReceiver", "Device has been fully charged.", 5); this.actionCharging(context);