Package io.appium.java_client.battery
Interface HasBattery<T extends BatteryInfo>
- All Superinterfaces:
ExecutesMethod
- All Known Implementing Classes:
AndroidDriver,FlutterAndroidDriver,FlutterIOSDriver,IOSDriver
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves battery info from the device under test.Methods inherited from interface io.appium.java_client.ExecutesMethod
execute, execute
-
Method Details
-
getBatteryInfo
T getBatteryInfo()Retrieves battery info from the device under test.- Returns:
- BatteryInfo instance, containing the battery information
-