I'm trying to limit my program to receive location updates every 10 seconds instead of constant updates to reduce battery drain. This works great when I am debugging a weak signal in the room (i.e., the GPS icon is blinking), but if the phone receives the correct correction (i.e., the GPS icon is static), the update interval increases to about a second.
I know the code is mLocationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, updateInterval*1000, 0, this); It doesnβt force GPS to receive updates exactly in this interval, but, in my opinion, it should not depend on signal strength and vary greatly.
Any ideas?
UPDATE: see comment
source share