commit | 3e013e85b0dfb9db58a4401b80d672a7eeb09d47 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Thu Apr 25 14:48:19 2013 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Thu Apr 25 17:01:37 2013 -0700 |
tree | 3ce7ee4ab6c8b1b301a3bb6ee502d4dac2ce5ed7 | |
parent | 58b98d392d47c2acdf19cea988f0ac547b83e670 [diff] |
Track foreground activities in battery stats. To help correlate battery usage against actual foreground app usage, start tracking time on a per UID basis. It uses the nesting feature of StopwatchTimer to track multiple PIDs inside the same UID. Improves units on docs, and persists foreground CPU time with a consistent ordering. Reports foreground activities time and foreground CPU time. Change-Id: I95d12963923e3fd421730f6fbfc842dfd8d3a055