Daily iOS
Performance and debugging

Battery optimization for navigation apps

Map and navigation apps use a lot of battery. How would you design one to minimize battery drain while keeping location tracking accurate?

How would an interviewer hear this answer? You'll see whether they'd move on, dig in, or say no, and which sentences would trip you up. Your score doesn't change.
See the short answer

Lower accuracy dynamically by situation (desiredAccuracy, distanceFilter, activityType), drop to significant-change or visits when guidance isn't needed, and cut screen and rendering (tile cache, frame limiting) and network (prefetching route data) at the same time.

Share a question