Turn screen on

Post your questions and help other users.

Moderator: Martin

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Turn screen on

Post by Desmanto » 08 Sep 2017 10:44

Akt wrote:Input keyevent 26 is working fine on screen on.

Any app to disable wake lock??
So it is working fine actually. Only when screen off, it doesn't work. Have you enable the debug log? What do you see in the log when it is working at screen on? And what do you see when it is not working at screen off?

Greenify can cut off (disable) the wakelock, but that is not what you need to do. You have to give back (enable) the wakelock to automagic. So you have to find the culprit who is taking away the wakelock from automagic.

Try another way. Keep the same period timer 10s with input key event 26. Then in another flow, put action sleep 1 minute, keep device awake. Execute this flow and turn off the screen. Check if the period timer 10s can successfully execute input key event 26 and turn on the screen. Check the debug log afterward.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Akt
Posts: 133
Joined: 25 May 2014 08:57

Re: Turn screen on

Post by Akt » 09 Sep 2017 03:37

This method also not working......

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Turn screen on

Post by Desmanto » 09 Sep 2017 09:21

Akt wrote:This method also not working......
I don't know what is going on at your phone unless you show me the debug log. Enable it and try the trigger until it is confimed not working. Disable the log and put only those line here. Remove any private information if there is.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Post Reply