如何使用ADB在开发人员选项中启用“保持清醒状态”? [英] How to enable Stay awake in the developer options using ADB?

查看:265
本文介绍了如何使用ADB在开发人员选项中启用“保持清醒状态”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试找到一种方法来通过ADB启用开发者选项-> 保持清醒选项。
我找到的解决方案是找到一种方法来打开开发人员选项菜单,然后使用ADB中的setevent命令启用保持唤醒状态。

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.

如果有的话,我也很高兴听到通过ADB启用保持唤醒选项的另一种方法。

I will also be glad to hear about another way to enable stay awake option via ADB if there is any.

推荐答案

adb shell am start -n com.android.settings/.DevelopmentSettings

这篇关于如何使用ADB在开发人员选项中启用“保持清醒状态”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆