Im Developing a Service for android marshmallow which intend to keep running for a long period of time. My questions are"
What will happen to my service when the device goes into deep sleep?
Is there any way to control what happens when the system pauses the service to go to sleep ( like the onPause () method for activities)?
I have searched for an answer on Google unsuccessfully but if my question has already been answered I'm really sorry for wasting your time and would appreciate if you would point me towards the correct answer.
Thanks