title: Asyntask thread does not work when the screen goes to sleep in android
body: <p>I am using asyntask for sending data(latitude,longitude) to server after every five minutes. But Asyntask thread does not work when the screen goes to sleep in android.I have done it without asyntask but for low internet speed data is sent to server after 8,10 or 12 minutes later randomly.</p>