summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Rupesh Bansal <brup@google.com> 2024-12-18 09:18:14 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2024-12-18 09:18:14 -0800
commitab3e9c5e68fa776f7dcfa80d9122ed9c83d663cb (patch)
treeedd9ac9f501b15f8f4e3a29307c34f98de07fa40
parent66316531f6059670ae9203f3e369767d5f278c52 (diff)
parent4b07e2a580977166db18177db381a50315e1bc62 (diff)
Merge "Log full wakelocks in BatteryStats" into main
-rw-r--r--services/core/java/com/android/server/power/Notifier.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/power/Notifier.java b/services/core/java/com/android/server/power/Notifier.java
index 271c818f7daa..7f88e7463208 100644
--- a/services/core/java/com/android/server/power/Notifier.java
+++ b/services/core/java/com/android/server/power/Notifier.java
@@ -479,6 +479,7 @@ public class Notifier {
case PowerManager.PARTIAL_WAKE_LOCK:
return BatteryStats.WAKE_TYPE_PARTIAL;
+ case PowerManager.FULL_WAKE_LOCK:
case PowerManager.SCREEN_DIM_WAKE_LOCK:
case PowerManager.SCREEN_BRIGHT_WAKE_LOCK:
return BatteryStats.WAKE_TYPE_FULL;