【发布时间】:2016-04-19 01:12:37
【问题描述】:
我已经尝试过来自 Google 的命令
adb shell dumpsys battery unplug
adb shell dumpsys deviceidle step
在 Genymotion 的“PREVIEW - Google Nexus 6P - 6.0.0 - API 23 - 1440x2560”和“PREVIEW - Google Nexus 5X - 6.0.0 - API 23 - 1080x1920”虚拟设备上,但遗憾的是不能让任何人进入空闲模式.总是在第二个命令之后我看到Stepped to: ACTIVE。
然后尝试
adb shell dumpsys deviceidle force-idle
我看到Unable to go idle; not enabled。这很奇怪,因为 Genymotion 在我使用的 2.6.0 版本的发行说明 (https://www.genymotion.com/#!/release-notes) 中声明“Doze 现在可以正常工作。”
有没有人设法在 Genymotion 中使用和测试 Doze?我应该使用其他命令吗?
【问题讨论】:
标签: android android-6.0-marshmallow genymotion android-doze