Skip to content
Commit 1d63546d authored by Haoran.Wang's avatar Haoran.Wang
Browse files

add default cpu.active power consumption



In CpuPowerCalculator it will calculate the power consumption based on
the PowerProfile. But when the device run on the GSI image, the
PowerProfile will not match the specific device's overlay. The default
power_profile.xml which don't have cpu.active will make some
multiple-cluster device have zero CPU power consumption calculation
result. So added the default value for the cpu.active values which
overlay by many devices.
This patch help below cts-on-gsi get pass:
run cts-on-gsi -m CtsStatsdHostTestCases -t
android.cts.statsd.atom.UidAtomTests#testDeviceCalculatedPowerBlameUid
run cts-on-gsi -m CtsStatsdHostTestCases -t
android.cts.statsd.validation.BatteryStatsValidationTests#testPowerBlameUid

TEST:
run cts -m CtsStatsdHostTestCases -t
android.cts.statsd.atom.UidAtomTests#testDeviceCalculatedPowerBlameUid

Signed-off-by: default avatarHaoran.Wang <elven.wang@nxp.com>
parent 775540c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment