Fix issue #3177284: Account for wake lock power usage on Crespo

Change-Id: I5e3d6c4772f08277ee775dba191a5054dd5a4ca2
This commit is contained in:
Dianne Hackborn
2010-11-08 19:10:58 -08:00
parent cbc3219d28
commit 0c8b4d3f7e

View File

@@ -46,6 +46,15 @@ public class PowerProfile {
*/
public static final String POWER_CPU_IDLE = "cpu.idle";
/**
* Power consumption when CPU is awake (when a wake lock is held). This
* should be 0 on devices that can go into full CPU power collapse even
* when a wake lock is held. Otherwise, this is the power consumption in
* addition to POWERR_CPU_IDLE due to a wake lock being held but with no
* CPU activity.
*/
public static final String POWER_CPU_AWAKE = "cpu.awake";
/**
* Power consumption when CPU is in power collapse mode.
*/