ADB Power Key Event

walscobry

Senior Member
Jun 16, 2006
59
4
0
I figure this has been mentioned at some point but since I just got my hands on my watch I am serveral months late to the 'party'...

Use ADB to "press the power button" while in the cradle:

adb shell input keyevent 26

adb shell input keyevent 4 = BACK button

complete list of keyevents I found here:

http://publish.illinois.edu/weiyang-david/2013/08/08/code-numbers-for-adb-input/

This has saved me a lot of time and opening/closing the cradle latch.
I have seen the drill mods for the charger but using those buttons less might not be a bad idea.
 
Last edited:

MrTip

Senior Member
Jun 12, 2014
56
6
0
I figure this has been mentioned at some point but since I just got my hands on my watch I am serveral months late to the 'party'...

Use ADB to "press the power button" while in the cradle:

adb shell input keyevent 26


This has saved me a lot of time and opening/closing the cradle latch.
I have seen the drill mods for the charger but using those buttons less might not be a bad idea.
This little thing enlighten my day. Thank you for this usefull tip.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone