summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Caitlin Shkuratov <caitlinshk@google.com> 2022-11-15 16:42:39 +0000
committer Caitlin Shkuratov <caitlinshk@google.com> 2022-11-15 16:42:39 +0000
commit8cff8b4daa2bf2e7eff3833f3c486d5b51a89f5e (patch)
treeabfb9caa5a6c63179ae404e0a9af4b6cea84ca7a
parentb3ac32a083972e2f43aebaa92ff5d28b9b65e3d4 (diff)
[Dock Defend] Include the current overheated status in the battery dump.
Bug: 255625888 Test: dumped BatteryControllerImpl and verified overheated is present Change-Id: Ifaf7630486b9f692eb9968f637bd14fba92ce6cd
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryControllerImpl.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryControllerImpl.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryControllerImpl.java
index 3c2ac7b7a124..2ee52325ca4a 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryControllerImpl.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryControllerImpl.java
@@ -156,6 +156,7 @@ public class BatteryControllerImpl extends BroadcastReceiver implements BatteryC
pw.print(" mPluggedIn="); pw.println(mPluggedIn);
pw.print(" mCharging="); pw.println(mCharging);
pw.print(" mCharged="); pw.println(mCharged);
+ pw.print(" mIsOverheated="); pw.println(mIsOverheated);
pw.print(" mPowerSave="); pw.println(mPowerSave);
pw.print(" mStateUnknown="); pw.println(mStateUnknown);
}