+146
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Add logic to read per UID cluster and active CPU time from the kernel in BatteryStatsImpl, store them in BatteryStats.Uid, then use these data to calculate CPU power more accurately in CpuPowerCalculator. Change-Id: I06a84d2bba8b97445466b310f15092614ff3477f Bug: 67752294 Test: PowerProfileTest Test: KernelUidCpuActiveTimeReaderTest Test: KernelUidCpuClusterTimeReaderTest Test: BatteryStatsCpuTimesTest