Android location update every minute
问题 I am currently writing an application that receives location data every minute (or other specified amount of time) and thes send it to server. The problem that I have noticed is: When I use my application connected to power source it works perfectly - sends updates with defined interval. When I use it on battery it sends updates randomly. For my application I use timer to specify interval of update. This timer runs in Background service. I request updates in timer and remove updates when I