summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author Dianne Hackborn <hackbod@google.com> 2014-02-11 17:18:35 -0800
committer Dianne Hackborn <hackbod@google.com> 2014-02-13 17:55:40 +0000
commite13c4c0b664dabdc069ca8f9601d96a337eb02f9 (patch)
tree7b12b84f2c04cafdee8d5fa5e5e50705a19327bf /libs/hwui/ProgramCache.cpp
parent1717eb1dc16402627d3361f8bb78493ba0beb9f0 (diff)
Start tracking radio up time.
We now always turn on network state tracking for mobile, and push this information down to battery stats. In battery stats we use this to both log the changes in the history and keep track of the total time the mobile radio was active. Power computation is switched over to using this information to help determine power use, which will hopefully make it more accurate (not counting inaccuracies in knowing when it actually goes down). Note yet done is aggregating this data per-uid, to better emphasize which apps are causing the radio to be up. Right now we just spread the total time across all uids weighted by the total number of packets they have sent and received. Also put in the battery stats infrastructure for bluetooth to address issue #12973036: Improve power_profile.xml Change-Id: I39d11b7ff6ae4f336f253d1cba308d8569de7e0d
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions