Background Service getting killed in android
We have developed an Android Application which involves a service in the background. To implement this background service we have used IntentService . We want the application to poll the server every 60 seconds . So in the IntentService , the server is polled in a while loop. At the end of the while loop we have used Thread.sleep(60000) so that the next iteration starts only after 60 seconds. But in the Logcat , I see that sometimes it takes the application more than 5 minutes to wake up (come out of that sleep and start the next iteration). It is never 1 minute as we want it to be. What is