Trait appium_client::commands::battery::HasBattery
source · pub trait HasBattery<Caps>: AppiumClientTraitwhere
Caps: AppiumCapability,{
// Provided method
fn battery_info<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<BatteryInfo<Caps>, CmdError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
}
Expand description
Device battery level and state