Created
July 20, 2023 22:18
-
-
Save scarlac/f75d862c9913d4205abf623e114dca23 to your computer and use it in GitHub Desktop.
Keep your Android device unlocked while developing. Works like 'caffeinate' on macOS
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
# add this to your mac's ~/.zshrc | |
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