diff options
author | Dianne Hackborn <hackbod@google.com> | 2010-11-10 17:58:27 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-11-10 17:58:28 -0800 |
commit | 34594e75e4a7962840f34c0b57116ecf1497f118 (patch) | |
tree | e738629d6dde6b81bf8b68c41783a7fce84a6ad6 | |
parent | 00e5dd44f6d014fff8c65b9c718f5641f5eae4bb (diff) | |
parent | 0c8b4d3f7e280da5d981651be13b8966b36bc45c (diff) | |
download | frameworks_base-34594e75e4a7962840f34c0b57116ecf1497f118.zip frameworks_base-34594e75e4a7962840f34c0b57116ecf1497f118.tar.gz frameworks_base-34594e75e4a7962840f34c0b57116ecf1497f118.tar.bz2 |
Merge "Fix issue #3177284: Account for wake lock power usage on Crespo" into gingerbread
-rw-r--r-- | core/java/com/android/internal/os/PowerProfile.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/com/android/internal/os/PowerProfile.java b/core/java/com/android/internal/os/PowerProfile.java index 127ed68..99a6843 100644 --- a/core/java/com/android/internal/os/PowerProfile.java +++ b/core/java/com/android/internal/os/PowerProfile.java @@ -47,6 +47,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. */ public static final String POWER_CPU_ACTIVE = "cpu.active"; |