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

前端 未结 6 2089
野性不改
野性不改 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:31

    Okay I know it is not what MiSo was asking but I think it may be relevant, I have created an app that will enable/dissable this 'Stay awake' setting as you connect/disconnect ADB.

    The code is available open-source here: ABD-Stay_Awake

提交回复
热议问题