Why GPS tracking stops on Android phones (and how to fix it on Xiaomi, Vivo, Oppo, Samsung and others)
The commonest reason a field tracking rollout "doesn't work" is the phone, not the app or the employee. Here is what breaks tracking on Android and a setup checklist for the brands Indian field teams actually carry.
The symptom
The employee punched in at 9:12. The route shows movement until 10:40, then nothing until 2:15, then a few points near home at 6:30. The km total is 11 km for a day that involved four customers across the city. The employee says the app was on the whole time, and they are probably right.
Android phones, especially the budget and mid-range models most Indian field teams carry, aggressively stop background apps to save battery. A tracking app that is stopped records nothing. Nobody did anything wrong, but the data is unusable and km reimbursement turns into an argument.
Why Android stops tracking apps
Three layers can stop a background app:
- Android's own battery optimisation (Doze and App Standby). After the screen is off for a while, background apps are throttled and their network and location access is batched or suspended.
- Background restrictions per app. "Restrict background activity" or "Background usage: restricted" prevents the app from running when it is not on screen.
- Manufacturer power managers. Xiaomi (MIUI/HyperOS), Vivo (Funtouch), Oppo and Realme (ColorOS), Samsung (One UI), Tecno and Infinix (HiOS/XOS) each add their own app-killing layers: autostart permissions, "battery saver" lists, memory cleaning that closes "unused" apps, and "sleeping apps".
A tracking app can ask to be exempted from the first layer (the "Ignore battery optimisation" prompt). The second and third have to be set by hand on the phone. That is why rollouts fail: the IT person's own phone works, and the sales team's phones do not.
The settings that matter, in order
Check these on every phone before go-live. The exact wording varies by Android version, but the setting exists on all of them.
- Location permission: Allow all the time (not "Only while using the app"). Android 10+ asks for this separately; Android 12+ also needs Precise location turned on.
- Battery optimisation: Not optimised / Unrestricted for the tracking app.
- Background activity: allowed.
- Autostart: allowed (on brands that have it).
- Notification permission: allowed, because the on-duty foreground notification is what keeps the app alive on newer Android versions.
- Location mode: High accuracy / Google Location Accuracy on, so Wi-Fi and cell data help indoors.
- Power saving / Ultra power saving: off during work hours, or the tracking app whitelisted inside it.
- Physical activity permission if the app uses motion to pause sampling while stationary.
Brand-by-brand checklist
Menu names move between versions; use the search box in Settings if a path does not match.
Xiaomi, Redmi, Poco (MIUI / HyperOS)
- Settings → Apps → Manage apps → [tracking app] → Autostart: on.
- Same screen → Battery saver → No restrictions.
- Same screen → Other permissions → Display pop-up windows while running in background: allow.
- Security app → Boost speed / Memory cleanup → lock the tracking app in Recents (pull down on the app card and tap the lock icon) so "Clear all" does not close it.
- Settings → Battery → Battery saver: off during work hours.
Vivo, iQOO (Funtouch OS / OriginOS)
- Settings → Battery → Background power consumption management → [tracking app] → Allow high background power consumption.
- i Manager → App manager → Autostart manager → allow.
- Settings → Apps → [app] → Permissions → Location → Allow all the time.
Oppo, Realme, OnePlus (ColorOS / OxygenOS)
- Settings → Battery → [tracking app] → Allow background activity, Allow auto launch; set Unrestricted.
- Settings → Apps → Auto launch → allow.
- Lock the app in Recents.
- Turn off Sleep standby optimisation / Smart power saver or whitelist the app.
Samsung (One UI)
- Settings → Battery → Background usage limits → Never sleeping apps → add the tracking app; remove it from Sleeping and Deep sleeping apps.
- Settings → Battery → Adaptive battery: off (or whitelist).
- Settings → Apps → [app] → Battery → Unrestricted.
Tecno, Infinix, Itel (HiOS / XOS)
- Phone Master → Power saving / Auto-start → allow the app.
- Settings → Apps → [app] → Battery → Unrestricted.
Motorola, Nokia, Google Pixel (near-stock Android)
- Usually only steps 1–2 and 5 of the main list. These phones have the fewest tracking problems.
What a good tracking app does to help
Settings drift. An update resets a permission; a child changes the battery mode. The app should check its own prerequisites every time the employee punches in and warn when something would stop tracking – "Battery saver is on", "Location is set to while-in-use" – with a button to the right settings screen. It should also record why tracking stopped (permission revoked, app killed, no network) so the manager sees a reason on the route, not just a gap.
Offline is separate: with the app running but no network, points should be stored on the phone and synced later. A gap caused by no network is not a gap at all once it syncs.
A rollout procedure that avoids most of this
- Collect the phone model of every field employee before go-live.
- Install and configure each phone using the checklist above – ten minutes per phone, best done in one sitting by whoever is rolling out.
- Take a screenshot of the app's setup-health screen showing all green.
- On day one, check the route of every employee by lunchtime. Fix the phones that have gaps that afternoon.
- Add "setup health green" to the onboarding checklist for new joiners and for anyone who changes phone.
Phones with tracking holes are the main source of disputed km claims; getting this right is the cheapest fix in the whole expense process.
Frequently asked questions
Does the employee need to keep the app open all day?
No. A correctly configured app runs as a foreground service with a visible notification while on duty. If it only tracks with the screen on, the phone is restricting it.
Will fixing these settings drain the battery?
Tracking on duty uses some battery, typically a few percent per hour depending on sampling rate and signal. The settings below stop the phone from killing the app; they do not increase how often it samples.
What about iPhones?
iOS handles background location differently and more consistently: the app must request “Always” location and the user can see a blue indicator. Field CRM is currently Android-only, with an iPhone app coming.
Part of the guide: Field employee GPS tracking in India: the complete guide
Keep reading
- Field employee GPS tracking in India: the complete guide – Everything a sales head or operations manager needs before switching on GPS tracking for a field team: how it works, the on-duty-only principle, the DPDP ground rules, the ways it fails, and how to roll it out without a revolt.
- Attendance for field staff: GPS punch-in, geofencing and stopping proxy attendance – Attendance for people who are never at a biometric machine: how GPS and selfie punch-in works, where geofencing helps and where it does not, how to handle late marks and corrections, and how to stop proxy and fake attendance.
- How employees fake GPS location (and how to detect it) – The five ways a field employee can make a tracking app lie, what each one looks like in the data, and a detection-and-review approach that catches spoofing without treating the whole team as suspects.
- How to stop fake and proxy attendance for field staff – Field attendance is faked in three distinct ways, and each needs a different control. This is the set of controls, the policy wording for each, and the order to introduce them without alienating the team.