diff options
Diffstat (limited to 'automated/lib')
-rwxr-xr-x | automated/lib/android-test-lib | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/automated/lib/android-test-lib b/automated/lib/android-test-lib index 283b244..1e7035b 100755 --- a/automated/lib/android-test-lib +++ b/automated/lib/android-test-lib @@ -166,6 +166,13 @@ adb_shell_which() { fi } +disable_suspend() { + echo "Now disable the suspend feature..." + adb shell input keyevent 82 ##unlock the home screen + adb shell svc power stayon true ##disable the suspend + echo "The suspend feature is disabled." +} + parse_common_args() { while getopts ":s:t:" opt; do case "${opt}" in |