diff options
Diffstat (limited to 'hostsidetests/incident/src/com/android/server/cts/BatteryIncidentTest.java')
-rw-r--r-- | hostsidetests/incident/src/com/android/server/cts/BatteryIncidentTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hostsidetests/incident/src/com/android/server/cts/BatteryIncidentTest.java b/hostsidetests/incident/src/com/android/server/cts/BatteryIncidentTest.java index c038eb28d2c..596720c6d01 100644 --- a/hostsidetests/incident/src/com/android/server/cts/BatteryIncidentTest.java +++ b/hostsidetests/incident/src/com/android/server/cts/BatteryIncidentTest.java @@ -56,7 +56,7 @@ public class BatteryIncidentTest extends ProtoDumpTestCase { assertTrue(scale > 0); int level = dump.getLevel(); assertTrue(level >= 0 && level <= scale); - assertTrue(dump.getVoltage() > 0); + assertTrue(dump.getVoltage() >= 0); } static boolean hasBattery(ITestDevice device) throws DeviceNotAvailableException { |