aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/src/org/cyanogenmod/tests/power/unit/PerfomanceManagerTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/src/org/cyanogenmod/tests/power/unit/PerfomanceManagerTest.java b/tests/src/org/cyanogenmod/tests/power/unit/PerfomanceManagerTest.java
index ade7beab..8d9f6277 100644
--- a/tests/src/org/cyanogenmod/tests/power/unit/PerfomanceManagerTest.java
+++ b/tests/src/org/cyanogenmod/tests/power/unit/PerfomanceManagerTest.java
@@ -77,7 +77,8 @@ public class PerfomanceManagerTest extends AndroidTestCase {
// Identify what power profiles are supported. The api currently returns
// the total number of profiles supported in an ordered manner, thus we can
// assume what they are and if we can set everything correctly.
- for (int powerProfile = 0; powerProfile <
+ // TODO: Don't skip powersave. Skipped due to powersave being ignored while device plugged
+ for (int powerProfile = 1; powerProfile <
PerformanceManager.POSSIBLE_POWER_PROFILES.length; powerProfile++) {
if (powerProfile < mCMPerformanceManager.getNumberOfProfiles()) {
//It is supported, set it and test if it was set