Created
October 11, 2023 16:52
-
-
Save scarlac/360985036f59a330a1b48fbf636c634e to your computer and use it in GitHub Desktop.
Keep Android phone screen on while connected to your computer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# similar to the old 'caffeinate' command for macOS, this will keep the connected android phones active | |
alias caffeinate-android='while true; do adb -d shell input keyevent mouse ; sleep 10 ; done' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment