diff options
author | Vishal Bhoj <vishal.bhoj@linaro.org> | 2017-05-05 22:23:59 +0530 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2017-05-08 14:27:40 +0000 |
commit | 82db70775d6a1edb983caf2e60d9101a5ad881f3 (patch) | |
tree | 65d29a32aead59abda35ee2629592c9f26b7c67a /automated/lib | |
parent | 747fe57b9571e7cb3f177cdd68f1e8d995cf01a7 (diff) |
change disable suspend
Change-Id: Ic06f1a674a43e47847f6c82082c5b5210d79836d
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Diffstat (limited to 'automated/lib')
-rwxr-xr-x | automated/lib/android-test-lib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/automated/lib/android-test-lib b/automated/lib/android-test-lib index 1e7035b..6b5c9e3 100755 --- a/automated/lib/android-test-lib +++ b/automated/lib/android-test-lib @@ -169,7 +169,7 @@ adb_shell_which() { 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 + adb shell "echo lock_me > /sys/power/wake_lock" echo "The suspend feature is disabled." } |