History log of /frameworks/base/services/core/java/com/android/server/am/HealthStatsBatteryStatsWriter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d4abd1eeb01187fa2ef78b64ae4f493a7bb3563f 12-Apr-2017 Adam Lesinski <adamlesinski@google.com> BatteryStats: Remove reading of cpu power

The cpu power reported by the uid_cputime kernel is inaccurate
and has only ever been recorded for dumping to batterystats.
The values have never been used in power blame calculations.

This change removes these power values which just cause noisy
data.

Bug: 36002715
Change-Id: I61bea9992aabb84d099689360fd9377b44b36e2f
Test: run `adb shell dumpsys batterystats`
Test: should not show `p=` for `Total cpu time:` line
/frameworks/base/services/core/java/com/android/server/am/HealthStatsBatteryStatsWriter.java
bee44ae8e5da109cd8273a057b566dc6925d6a71 19-Apr-2016 Joe Onorato <joeo@google.com> Consolidate the HealthStats UI to only use milliseconds.

BatteryStats uses a mix of microseconds and milliseconds, and keeping
which one is which straight is difficult. The internal bookkeeping
is left using us where it already does, for the extra precision. But
having the API be mixed will only make it harder for developers, and
lead them to make the same mistake that I did in the API where I
missed some conversions.

Bug: 28197858
Change-Id: I99114bae259b9bdd47ce5c22e724d87bbd63336d
/frameworks/base/services/core/java/com/android/server/am/HealthStatsBatteryStatsWriter.java
a2f003bc3cbc916660921b3bb3aee93307c3ce7e 18-Mar-2016 Joe Onorato <joeo@google.com> Fix crash in writing battery stats to health stats

Bug: 23147564
Change-Id: Icfa34b637deedc60b839ba73f875c0008c68695b
/frameworks/base/services/core/java/com/android/server/am/HealthStatsBatteryStatsWriter.java
713fec85b8612256211f09c62b8958a99fe5b9db 04-Mar-2016 Joe Onorato <joeo@google.com> Add an API for apps to get their System Health / Battery Stats data.

Change-Id: Ib27e1be469b826f6d83d73ce6024102bbdb1d47a
/frameworks/base/services/core/java/com/android/server/am/HealthStatsBatteryStatsWriter.java