How to Stop com.google.android.gms.persistent From Keeping the Phone Awake
com.google.android.gms.persistent is a Google Play Services process that keeps the phone awake for syncing, notifications and location. When it holds a wake lock too long the battery drains overnight. Find the app requesting the wake lock, limit its background activity, and fix the sync that will not sleep. This illustrated guide covers 2 methods and 14 steps, with a separate picture for every step.
-
1. Open battery usage
Go to Settings, Battery, and tap Battery usage to see which apps and system services consumed power since the last charge.
-
2. Check the awake time
Look at how long the phone was awake versus idle since the last full charge. A phone that barely sleeps points to a wake lock.
-
3. Switch to system processes
Use the menu to show system processes and check how long Google Play Services has been active.
-
4. Identify the requesting app
The app near the top of the list that needs background access is usually the one requesting the wake lock.
-
5. Check for a stuck sync
Open Settings, Accounts, and look for an account showing a sync error or spinner that never finishes.
-
6. Note recent installs
Think about apps installed or updated before the drain began, since a buggy update is a common trigger.
-
7. Open the offending app's info
Go to Settings, Apps, select the suspected app, and open its Battery usage or battery optimization entry.
-
8. Restrict background activity
Choose Restrict background activity or Manage battery usage and select Restricted to stop it waking the phone.
-
9. Set background location to while-using
If the app uses location, change its permission to Only while using the app.
-
10. Turn on Adaptive Battery
In Settings, Battery, enable Adaptive Battery so Android learns which apps you rarely use and limits them.
-
11. Enable Battery Saver at night
Schedule Battery Saver to turn on overnight to limit background work while you sleep.
-
12. Remove a duplicate account
If a failing sync was found, remove the unused account so services stop retrying it all night.
-
13. Reboot the phone
Restart to release any wake lock currently held, then observe behaviour overnight.
-
14. Verify the phone sleeps
In the morning, check Battery usage again and confirm the awake time has dropped noticeably.