Is phone in Stand By?


Licensed User

I wonder how you could do to make the process run when the phone takes 15 minutes standby. Guess I'll have to run a service every 5 minutes for example check that the phone is in standby, gained over a counter and when these checks take 3 consecutive times in standby run a new process that must be connected to the internet and downloaded some files . As these files are large, so I intend to do is to run this second process when the user is not using the phone.

Therefore, and after this long email thanks to google translator, how I can know if the phone is in standby?

Thank you!