diff options
| author | 2024-12-18 09:18:14 -0800 | |
|---|---|---|
| committer | 2024-12-18 09:18:14 -0800 | |
| commit | ab3e9c5e68fa776f7dcfa80d9122ed9c83d663cb (patch) | |
| tree | edd9ac9f501b15f8f4e3a29307c34f98de07fa40 | |
| parent | 66316531f6059670ae9203f3e369767d5f278c52 (diff) | |
| parent | 4b07e2a580977166db18177db381a50315e1bc62 (diff) | |
Merge "Log full wakelocks in BatteryStats" into main
| -rw-r--r-- | services/core/java/com/android/server/power/Notifier.java | 1 |
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; |