DeviceBatteryLevelChecker
public
class
DeviceBatteryLevelChecker
extends Object
implements
IRemoteTest
java.lang.Object
|
↳ |
com.android.tradefed.testtype.DeviceBatteryLevelChecker
|
An IRemoteTest
that checks for a minimum battery charge, and waits for the battery to
reach a second charging threshold if the minimum charge isn't present.
Summary
Public methods |
void
|
run(TestInformation testInfo, ITestInvocationListener listener)
|
Public constructors
DeviceBatteryLevelChecker
public DeviceBatteryLevelChecker ()
Public methods
public void run (TestInformation testInfo,
ITestInvocationListener listener)
Parameters |
testInfo |
TestInformation |
listener |
ITestInvocationListener |
Throws |
DeviceNotAvailableException |
|
Protected methods
setResumeLevel
protected void setResumeLevel (int level)