appium-android-driver
Version:
Android UiAutomator and Chrome support for Appium
12 lines • 600 B
TypeScript
/**
* This is a wrapper to 'adb shell dumpsys deviceidle' interface.
* Read https://www.protechtraining.com/blog/post/diving-into-android-m-doze-875
* for more details.
*
* @param {'whitelistAdd' | 'whitelistRemove'} action The action name to execute
* @param {string} [packages] Either a single package or multiple packages to add or remove from the idle whitelist
* @returns {Promise<void>}
*/
export function mobileDeviceidle(action: "whitelistAdd" | "whitelistRemove", packages?: string): Promise<void>;
export type ADB = import("appium-adb").ADB;
//# sourceMappingURL=deviceidle.d.ts.map