安卓系统使用命令的方式设置屏幕永不超时的方法
·
参考:Xposed-Modules-Repo/me.neversleep.plusplus
可以直接通过命令实现即可,将超时时间设置为2147483647,即可永不休眠
adb shell settings put system screen_off_timeout 2147483647
若是报错,可以root方式执行该命令
adb shell su -c 'settings put system screen_off_timeout 2147483647'
若是在手机端,命令如下
settings put system screen_off_timeout 2147483647
更多推荐

所有评论(0)