I've tried the 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 5X - 6.0.0 - API 23 - 1080x1920" virtual devices from Genymotion but unfortunately cannot put anyone to idle mode. Always after second command I see Stepped to: ACTIVE
.
Then trying
adb shell dumpsys deviceidle force-idle
I see Unable to go idle; not enabled
. This is strange because Genymotion states in release note (https://www.genymotion.com/#!/release-notes) for version 2.6.0, which I use, that "Doze now works properly."
Is there anyone who managed to use and test Doze in Genymotion? Should I use some other commands?