Fix BatteryStatsDumpsysTest#testBatterystatsOutput
Change-Id: I8671f68c9731fcae5f931189063b5a513bb15cd0
Fixes: 69788532
Test: BatteryStatsDumpsysTest#testBatterystatsOutput
diff --git a/hostsidetests/dumpsys/src/android/dumpsys/cts/BatteryStatsDumpsysTest.java b/hostsidetests/dumpsys/src/android/dumpsys/cts/BatteryStatsDumpsysTest.java
index 6d341c8..2ae5265 100644
--- a/hostsidetests/dumpsys/src/android/dumpsys/cts/BatteryStatsDumpsysTest.java
+++ b/hostsidetests/dumpsys/src/android/dumpsys/cts/BatteryStatsDumpsysTest.java
@@ -442,7 +442,7 @@
}
private void checkBatteryDischarge(String[] parts) {
- assertEquals(12, parts.length);
+ assertEquals(14, parts.length);
assertInteger(parts[4]); // low
assertInteger(parts[5]); // high
assertInteger(parts[6]); // screenOn
@@ -451,6 +451,8 @@
assertInteger(parts[9]); // dischargeScreenOffMah
assertInteger(parts[10]); // dischargeDozeCount
assertInteger(parts[11]); // dischargeDozeMah
+ assertInteger(parts[12]); // dischargeLightDozeMah
+ assertInteger(parts[13]); // dischargeDeepDozeMah
}
private void checkBatteryLevel(String[] parts) {