How to enable Stay awake in the developer options using ADB?

前端 未结 6 2092
野性不改
野性不改 2020-12-08 22:05

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 opti

6条回答
  •  忘掉有多难
    2020-12-08 22:36

    You can enable Stay awake option without having to use UI with the following command:

    adb shell settings put global stay_on_while_plugged_in 3
    

提交回复
热议问题