Pick the fix
A weather app requests high-accuracy GPS updates every 10 seconds in the background. Best change?
Hint 1 of 1
How precise does weather need to be?
Choose an answer, then open Show answer below to check it.
Show answer
Answer: A Use approximate, balanced-power location with infrequent updates, or get it when the app opens
Correct. Weather needs city-level accuracy, rarely.
Why not the others?
- B Use a foreground service so it isn't stopped. Makes the drain permanent.
- C Move the request to a WorkManager job every 15 minutes with high accuracy. Still high accuracy for no reason.
- D Request the background location permission. Permission doesn't reduce the drain.