Page 1 of 1

Action to enter doze mode

Posted: 12 Mar 2017 12:22
by mmplx
Hi all,

I'm trying to recreate the Force Doze app using Automagic. I want to enter doze mode when the display is off. The display off trigger exists, even a doze mode trigger exists, but I'm unable to find a turn on doze mode action. Is this somehow possible?

Cheers, Carlos.

Re: Action to enter doze mode

Posted: 12 Mar 2017 20:26
by Martin
Hi,

This post could help: Doze timer
Not sure if Google fixed this problem yet so it might not work anymore on newer versions of Android.

Action Execute Root Command with command dumpsys deviceidle force-idle might also work on a rooted device (also check out this page: https://developer.android.com/training/ ... andby.html).

Regards,
Martin