Doz Test Function (Android 6.0 Marshmallow) in Genymotion

I tried commands from google

adb shell dumpsys battery unplug
adb shell dumpsys deviceidle step

on both "PREVIEW - Google Nexus 6P - 6.0.0 - API 23 - 1440x2560" and "PREVIEW - Google Nexus 6P - 6.0.0 - API 23 - 1080x1920" virtual devices from Genymotion, but, unfortunately, cannot put anyone in standby mode, always after the second command I see Stepped to: ACTIVE.

Then try

adb shell dumpsys deviceidle force-idle

I see Unable to go idle; not enabled. This is strange because Genymotion states in the release note ( https://www.genymotion.com/#!/release-notes ) for version 2.6.0, which I use is that "Doze now works correctly."

Is there anyone who has managed to use and test Doze in Genymotion? Should I use some other commands?

+4
1

Genymotion.

, Doze . .

Marshmallow Doze. Doze , :

adb shell dumpsys deviceidle enable

:

adb shell dumpsys battery unplug
adb shell dumpsys deviceidle step

:. , Doze Genymotion.

+6

Source: https://habr.com/ru/post/1624181/


All Articles