Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c08f8da authored by Andrew Sapperstein's avatar Andrew Sapperstein
Browse files

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
parent 2729bb85
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
                }