Android Question Service during deep sleep

hanyelmehy

Active Member
Licensed User
Longtime User
i using a service using Service.StartForeground ,this service has a timer that make calculation every 5 minute ,and run other service using StartServiceAt (Duringsleep is true) after some times maybe hours,this other service run activity then close itself

every thing is work fine ,but when device go to deep sleep nothing happened
i did not use KeepAlive ,because this well consume battery , and assume that StartServiceAt must work even device in deep sleep

any suggestion
 

hanyelmehy

Active Member
Licensed User
Longtime User
Theoretically the device should wake up. However it is more than likely that many developers prevent it to wake up every 5 minutes as it will consume too much power.
service which started using StartServiceAt must run another activity , when check log service is started but activity in some times not run and shown until unlock the phone ??
 
Upvote 0
Top