diff options
| author | 2017-01-12 17:21:12 -0800 | |
|---|---|---|
| committer | 2017-01-12 17:23:11 -0800 | |
| commit | 6c08f8da0915f2324b91760e523573b9f829266c (patch) | |
| tree | 7168351defe87977268d54a70379b140a565c4c8 | |
| parent | 2729bb8517d207acc7c457f7f95f789f41a5b43c (diff) | |
Add logging for high temp warning.
Adds a log line that prints the current and throttling temps
when we decide to show the notification.
Test: manual
Bug: 34256597
Change-Id: I4d0a1993e0b073d68fbc65f9aa765f5343a69dc5
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/power/PowerUI.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/power/PowerUI.java b/packages/SystemUI/src/com/android/systemui/power/PowerUI.java index d9b4cab31f8a..60421a60b882 100644 --- a/packages/SystemUI/src/com/android/systemui/power/PowerUI.java +++ b/packages/SystemUI/src/com/android/systemui/power/PowerUI.java @@ -255,6 +255,7 @@ public class PowerUI extends SystemUI { boolean shouldShowTempWarning = false; for (float temp : temps) { if (temp >= mThrottlingTemp) { + Slog.i(TAG, "currentTemp=" + temp + ", throttlingTemp=" + mThrottlingTemp); shouldShowTempWarning = true; break; } |