Hi to everyone!
I’m trying to set my phone waked up with the some period (to check messengers and emails) and I’ve found that the most easiest way is to call rtcwake
just before suspend. Next I’m going to write a small script to force suspend in case if you does not unlock the phone, but now I have small problem with wake up process - the display is always waked up too.
So, my question is how to prevent the display to wake up in some cases and how to check the source event that cause a wake up?