Action to enter doze mode

General discussions about Automagic and automation in general

Moderator: Martin

Post Reply
mmplx
Posts: 5
Joined: 11 Mar 2017 12:40

Action to enter doze mode

Post by mmplx » 12 Mar 2017 12:22

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.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Action to enter doze mode

Post by Martin » 12 Mar 2017 20:26

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

Post Reply