获得使用ADB屏幕状态屏幕、状态、ADB

由网友(你,我忘了)分享简介:我需要知道我的剧本设备的屏幕是否关闭。有没有简单的命令来获得使用亚行这样的信息? I need to know in my script whether or not the device's screen is off. Is there any simple command to obtain such info...

我需要知道我的剧本设备的屏幕是否关闭。有没有简单的命令来获得使用亚行这样的信息?

I need to know in my script whether or not the device's screen is off. Is there any simple command to obtain such information using ADB?

推荐答案

dumpsys电源| grep的mScreenOn

阅读全文

相关推荐

最新文章