5 lignes
111 B

  1. #!/bin/bash
  2. adb shell input keyevent KEYCODE_POWER
  3. sleep $1 # in second
  4. adb shell input keyevent KEYCODE_SLEEP