Why Your Tracking App Goes Silent on Motorola, Xiaomi & Samsung
Indian Android phones are infamous for killing background apps to save battery. If your tracking app stops updating when the phone is idle, this guide explains exactly why — and how to fix it for every major brand.
Last updated: May 2026 · 8 min read
The Problem: OEM Battery Optimization
Stock Android (as Google ships it) already reduces background activity when your screen is off and the phone isn't moving — to save battery. Google designed this to be balanced: well-built apps like Raksha are specifically allowed to keep running in the background even in this low-power state.
The problem is that Indian smartphone brands — Xiaomi, Motorola, Samsung, Realme, OPPO, Vivo — add their own aggressive battery-saving layers on top of Android. These layers go far beyond Google's Doze mode and often kill apps that would otherwise be properly exempted.
What this means for tracking apps:
- Location stops updating after the screen has been off for 5–15 minutes
- The app appears to be running in the phone's recent apps list, but is actually frozen
- Push notifications still arrive, but if the app is frozen it can't act on them — so commands like "ring my phone" or location updates don't work
- The issue gets worse after software updates as OEMs tighten restrictions
This is India-specific: The same app that works perfectly on a European Samsung or Pixel will fail on the Indian variant of the same phone because Indian ROM builds have more aggressive optimizations tuned for lower-end hardware and users' battery complaints.
Brand-by-Brand Fix Guide
Motorola (ThinkShield / moto)
Motorola's battery optimization is among the most aggressive. You need to disable it at the system level:
- Go to Settings → Battery → Battery Optimization
- Tap the dropdown and select "All apps"
- Find your tracking app → tap it → select "Don't optimize"
- Also go to: Settings → Apps → [App] → Battery → Unrestricted
On newer Motorola devices (Edge series), also check: Settings → Battery → Adaptive Battery → Off
Xiaomi / Redmi / POCO (MIUI / HyperOS)
MIUI has multiple independent kill switches — you need to disable all of them:
- Auto-start: Settings → Apps → Manage apps → [App] → Autostart → Enable
- Battery saver: Settings → Apps → Manage apps → [App] → Battery saver → No restrictions
- MIUI Optimization: Settings → Additional settings → Developer options → MIUI optimization → Off (this is the nuclear option — some features may change)
- Background restrictions: Long-press app → App info → Battery → Unrestricted
Samsung (One UI)
- Settings → Battery → Background usage limits — turn off "Put unused apps to sleep" and remove your tracking app from the sleeping apps list
- Settings → Apps → [App] → Battery → Unrestricted
- Settings → Device Care → Battery → More battery settings → Adaptive battery → Off
- If still failing: Settings → Developer options → Running services — verify the app's service is actually running
Realme / OPPO (ColorOS)
- Settings → Battery → App Quick Freeze — make sure the app is NOT in the frozen list
- Settings → Apps → [App] → Battery usage → Allow background activity
- Security center → Privacy permissions → Startup manager → [App] → Allow auto-start
OnePlus (OxygenOS)
OnePlus is relatively close to stock Android but still has some restrictions:
- Settings → Battery → Battery optimization → [App] → Don't optimize
- Settings → Apps → [App] → Battery → Allow background activity
Vivo (Funtouch OS / OriginOS)
- Settings → Battery → Background power consumption → [App] → No restrictions
- i Manager → App manager → Autostart manager → [App] → Enable
The System-Level Fix: Request Battery Optimization Exemption
The most reliable fix across all Android versions is to request the REQUEST_IGNORE_BATTERY_OPTIMIZATIONS permission at the system level. When granted, Android itself (not just the OEM layer) exempts the app from all Doze restrictions.
On a phone using Raksha, you'll see a prompt during setup called "Unrestricted Background Activity." Granting this is the single most important thing you can do to ensure continuous location tracking — especially on Motorola and Xiaomi phones.
If you skipped this during setup: go to Settings → Battery → Battery optimization → Raksha → Don't optimize.
How Raksha Handles This
Raksha was specifically built for Indian Android phones and handles OEM battery killers in several ways:
- Always-on background service — Raksha runs with a persistent status bar notification, which tells Android to treat it as a priority app and not shut it down
- Instant restart on kill — even if the battery manager shuts Raksha down, a push notification silently wakes it back up within seconds, without showing anything on screen
- Smart location updates — Raksha doesn't drain battery by constantly checking GPS. It updates location less often when nothing is happening and more frequently during an emergency
- Setup guide on first install — during first setup, Raksha walks you through disabling battery restrictions specifically for your phone brand
Testing If Your Setup Works
After making the above changes, test it:
- Open Raksha on both phones
- Put the tracked phone face-down and leave it for 20 minutes with screen off
- Check if the location on the parent/guardian's phone is still updating
- If it stopped: recheck the battery settings above — on Xiaomi especially, you may need to enable Auto-start separately
If you have admin access to the Raksha dashboard, you can also trigger a manual wake on the device to confirm it's responding, without sending any visible notification to the phone.