Files
frameworks_base/core/java/android/os
Sudheer Shanka b8ad594300 Use cpu freq times to calculate power consumed by an uid.
Initially we used to approximate times spent by an uid at a particular
freq using total time spent by the uid but since now the freq times
are directly available from the proc file, we can use these to
calculate power.

Bug: 62240247
Test: bit FrameworksCoreTests:com.android.internal.os.BatteryStatsTests
Test: cts-tradefed run singleCommand cts-dev -m CtsIncidentHostTestCases -t \
      com.android.server.cts.BatteryStatsValidationTest
Test: Used some apps and verified that battery usage is attributed to
      those apps in Battery settings.
Change-Id: Ia8e2eb07fd778b8a8c83a6acec711e7b97aefdc0
2017-08-11 00:04:50 -07:00
..
2017-08-06 07:37:08 -06:00
2016-10-19 11:29:47 -07:00
2017-08-01 11:26:18 +09:00
2017-04-27 16:24:26 -07:00
2017-05-10 15:58:09 -07:00
2017-08-07 15:36:10 -07:00
2017-04-24 13:20:46 -06:00
2017-06-28 16:49:12 -07:00
2017-08-07 15:36:10 -07:00
2016-11-04 10:43:25 -07:00
2016-10-03 16:03:31 -07:00