appium-xcuitest-driver
Version:
Appium driver for iOS using XCUITest for backend
18 lines • 601 B
TypeScript
/**
* IOPMPowerSource IORegistry payload from the diagnostics relay (RemoteXPC shim).
*/
export type AdvancedBatteryInfo = Record<string, any>;
/**
* Advanced battery metrics from the device diagnostics service on real hardware.
*
* Requires **iOS/tvOS 18+** and the optional **`appium-ios-remotexpc`** package.
*/
export declare class BatteryInfoClient {
private readonly udid;
constructor(udid: string);
/**
* Reads IOPMPowerSource data via RemoteXPC diagnostics.
*/
getAdvancedInfo(): Promise<AdvancedBatteryInfo>;
}
//# sourceMappingURL=battery-info-client.d.ts.map