1 Test battery status API with multiple windows.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 PASS batteryInfo is defined.
8 PASS mockBatteryInfo is defined.
9 PASS batteryInfo.charging is mockBatteryInfo.charging
10 PASS batteryInfo.chargingTime is mockBatteryInfo.chargingTime
11 PASS batteryInfo.dischargingTime is mockBatteryInfo.dischargingTime
12 PASS batteryInfo.level is mockBatteryInfo.level
13 resolution in secondWindow
14 PASS batteryInfo is defined.
15 PASS mockBatteryInfo is defined.
16 PASS batteryInfo.charging is mockBatteryInfo.charging
17 PASS batteryInfo.chargingTime is mockBatteryInfo.chargingTime
18 PASS batteryInfo.dischargingTime is mockBatteryInfo.dischargingTime
19 PASS batteryInfo.level is mockBatteryInfo.level
20 PASS successfullyParsed is true