OSDN Git Service

Add additional logging for temperature readings.
authorAndrew Sapperstein <asapperstein@google.com>
Thu, 2 Feb 2017 01:13:08 +0000 (17:13 -0800)
committerAndrew Sapperstein <asapperstein@google.com>
Fri, 3 Feb 2017 20:42:54 +0000 (12:42 -0800)
commit4cfe56709b717edc8aa5507eb03c3582c24f3850
treea5b6ed33c6c8766df71f745d4f617d4e4a8961bd
parent7acceb874637905bfe415437c7b9bafce5f395ec
Add additional logging for temperature readings.

In order to determine how often devices are reaching various
temperatures, we now cache the last hour of temperature readings.
Once it's been an hour, we calculate the avg/min/max and log the results.

Additionally, this CL adds some logging to show how the temperature has
changed over time during the one hour window and what the charging status
is when the notification shows.

Bug: 3451088134379897
Change-Id: If8c7d39452034313fd01dea0c8d97c7b55b3cb9c
Merged-In: I62a5ccc92122f5d2955a52677740e896f0d7892b
packages/SystemUI/src/com/android/systemui/power/PowerUI.java