How to enable Stay awake in the developer options using ADB?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to find a way to enable the Developer options -> Stay awake option via ADB. The solution that I found was to find a way to open developers option menu and then enable stay awake option using setevent command in ADB. Now I'm trying to find the command that will open the developers options. I found the command that opens display options: adb shell am start -n com.android.settings/.DisplaySettings So I think that a similar command that opens developers options exists. I will also be glad to hear about another way to enable stay awake