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?
Map and navigation apps use a lot of battery. How would you design one to minimize battery drain while keeping location tracking accurate?
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.
Performance and debuggingShort answerBasics
A phone screen question: "When you design an iOS app, what do you keep in mind to use…
#battery #energy
App lifecycle and systemShort answerBasics
How can an app find out that the user turned on Low Power Mode or that the device has…
#battery #energy
PersistenceShort answerAdvanced
You have logs where the app, woken by a background push while the screen is locked, fails…
#background
App lifecycle and systemShort answerIntro
A user is working in your app, takes a phone call, hangs up, goes out to the home screen…
#background