Hi,
just wanted to share something: If you see under settings > battery that Google Services or Google Maps is causing the battery to drain, you should disable Google Now (Google Search app > Settings). It keeps checking your location. If this does not work, you can turn of GPS.
You can also leave Google Now active and go into Maps, Settings, and disable location reporting.
Related
Better Battery Stats - what's causing "NetworkStats" & related Partial Wakelocks?
I think I've isolated my battery drain down to a few things through BetterBatteryStats and GSam Battery Monitor:
1. "NetworkStats" as the longest Partial Wakelock and "RILJ" and "AlarmManager" as the highest count Partial Wakelocks in Better Battery Stats.
2. In GSam battery monitor "Android System" is almost always #1 for number of times waking devices, and usually followed in #2/3 by "Google Maps" and "Google+". Google+ sync'ing is turned off, but the "Sync Instant Upload" is turned on. I can't for the life of me figure out why Google Maps is always high on this list, even when I don't open the app all day.
Does anyone have any tips for how I can figure out what is triggering these NetworkStats/RILJ/AlarmManager/Android System/Google Maps wakelocks?
I'm thinking they are all related to each other through something like Calendar, or some other Android service gone awry. I don't know of any other way beyond Better Battery Stats and GSam to isolate the drain down to something more specific and measurable. Any thoughts or tips are appreciated.
Just wondering, is Google location services, gps satellites, location and Google search turned on?
erwaso said:
Just wondering, is Google location services, gps satellites, location and Google search turned on?
Click to expand...
Click to collapse
I did not turn off Google Location Services.. what apps/services fall under that?
I also did not turn off Location and Google search, but that shouldn't be causing wake locks when I'm not using my phone, right?
GPS Satellites were turned off.
I have the same issue on my nexus. I have all three option disabled but get google keeps have the network location service running in the background. I even cleared maps cache and force stop. it really annoying
r29 said:
I have the same issue on my nexus. I have all three option disabled but get google keeps have the network location service running in the background. I even cleared maps cache and force stop. it really annoying
Click to expand...
Click to collapse
Sorry to hear - but glad to hear I'm not the only one that has noticed this. Are you running stock, custom rom, or what? One suspect is the HTC weather widget, I have that on my home screen but it's set to sync only once every 4 hours.
There must be some way to delve into what is triggering "NetworkStats".
So some of the things I've done so far that have helped:
Uninstalled the applications on{x} and Pageonce. Both were regularly showing large amounts of wake locks.
Disable Google+ sync'ing in BOTH Settings->Accounts AND within the Google+ application. Within Google+ there are separate Notification, Messenger, and Hangout sync settings. I'm not positive that disabling from within the app is necessary but I was still getting wake locks from Google+ after disabling it within Settings->Accounts. I'll know soon enough if that helps.
Disable redditnews from checking for new mail. I had accidentally set this to check for new reddit mail every 15 minutes!
Disable GPS satellites, Google Location Services, and Location and Google search from within the Settings->Location menu. I did this to see if it would eliminate the Google Maps wake locks that I can't seem to get rid of or pinpoint the cause of. It's only been a day but it seems the Google Maps wake locks have been cut down, but not completely. It's driving me crazy not knowing what is triggering Google Maps to wake lock my phone. The hunt continues...
I am on a custom rom LiquidSmooth 4.0.4 base.. I have tried removing anything that deals with maps but that stupid service still starts
If I am on battery saving location and I switch off/on location and then select just battery saving location again I find my location cannot be found, ie I go into Google maps and it says waiting for location OR shows me a grey dot where my last location was, rather than the blue triangle.
Sometimes on the first entry to maps it does pick up my location but the second entry the location is always gone.
It can be 'fixed' by either a reboot or by clearing Google play services data.
Anyone else experience this?
scott_doyland said:
If I am on battery saving location and I switch off/on location and then select just battery saving location again I find my location cannot be found, ie I go into Google maps and it says waiting for location OR shows me a grey dot where my last location was, rather than the blue triangle.
Sometimes on the first entry to maps it does pick up my location but the second entry the location is always gone.
It can be 'fixed' by either a reboot or by clearing Google play services data.
Anyone else experience this?
Click to expand...
Click to collapse
You can uninstall the update to go back older version (maybe solve it) and wait newer update^^
scott_doyland said:
If I am on battery saving location and I switch off/on location and then select just battery saving location again I find my location cannot be found, ie I go into Google maps and it says waiting for location OR shows me a grey dot where my last location was, rather than the blue triangle.
Sometimes on the first entry to maps it does pick up my location but the second entry the location is always gone.
It can be 'fixed' by either a reboot or by clearing Google play services data.
Anyone else experience this?
Click to expand...
Click to collapse
same here... :angel:
I have disabled Location reporting / History, wifi scanning and location itself.
But when I check privacy gaurd I see Location services, Play services and android system using fine location, cell scan and wifi scan.
Can anyone suggest what to do to stop google from accesing my location completely?
Any one?
mkiriti said:
I have disabled Location reporting / History, wifi scanning and location itself.
But when I check privacy gaurd I see Location services, Play services and android system using fine location, cell scan and wifi scan.
Can anyone suggest what to do to stop google from accesing my location completely?
Click to expand...
Click to collapse
Here is an solution, it also improve your battery life
Google has been recommending developers use Google Play Services for Android Device location GPS functionality which allows for Google Play Services to batch GPS requests, hopefully preserving battery life. However, developers still have access to the native Android location APIs which they could leverage to request device location.
Example image:
The solution
Fortunately if you’re using Cyanogenmod on your device, you can use the built-in Privacy Guard feature to limit Google Play Services ability to wake the device, which will permit your device to stay asleep unless you’re actively using it. You can also keep Google Play from being able to keep the phone awake, which will allow your device to sleep quicker, preserving battery for Angry Birds and Pandora.
Keep in mind, there are pros and cons to everything.
So, it’s not my fault if your everything begins to suck once you do this. The easy thing is that you can make changes, then toss your phone in your pocket and check back later and see if there is a noticable improvement in battery life. You will see in the same UI I’ll show below a long listing of how many times permissions were requested and if they were denied or not.
Consider denied events to be your battery life getting longer and longer
So, step one for your GPS problem + better battery life, go to settings on your device. Go down to Privacy.
Go to Privacy Guard
Click the three dots / hamburger bun / overflow menu and check the box for Show built-in apps.
Wait…it takes a LOOONG time to list all of the apps. Browse down to Google Play Services and then long press on the icon.
Scroll down to the options and based on the pros/cons above, choose your destiny and toggle some of the options.
Restart phone.
DONE.
Google wont start the GPS like you requested
Your battery life is also improved because Google Play Services is disabled :good:
Extra info
To reserve back, turn the options back to ON you have disabled.
NOTE: You will get an error popup that Google Play Services stopped if you start your GPS for example "Navigation" like TomTom, Navigon, ETC.
I hope it helped.
Stanely thank you for your reply, however the original question I had asked was different.
Why is play services using cell scan and wifi scan even when location is completely off? What else do i need to disable to stop it?
Also denying keep awake and wakeup causes play services to crash.
Been finding a solution couple of years now.Is there any way to completely turn off google track my location?Google has always a way to track us,even location services are completely turned off.
Android 5.1 stock rom, everything is up-to-date.
Yesterday, before to go to bed I've done the following:
I turned off wifi, set the phone to plane mode and activated the power save under the battery settings (which should reduce a lot of things). Before to lock the screen my battery was at 57 %. After 8 hour my battery was at 44 %.
Thanks to "BetterBatteryStats" - BBS - I've found, under the "Alarms" section, that the process com.google.android.gms was reported to be active at 56 %.
I am sure that I don't have other WakeLocks, firstly because no Wake Locks are reported by BBS - and the deep sleep is correctly reported also by BBS, and secondly because the phone is only awake when the screen is on:
I ask to myself: why Google Play Store remains active when there is no active connection on my phone, and when the sync is disabled? Furthermore, under the wifi option I also disabled the option wifi scan always available.
I think I'm on the right way to solve this issue. I've done some research and I installed "Disable Service" from the playstore.
First of all, please keep in mind that I use just few Google Apps: Gmail, Google App (to use the vocal assistant) and the Play Store. With the following changes all these apps still work without issues (at least for now).
last night i left my phone in standby as yesterday (plane mode, wifi turned off and powersave activate): for 8 hours is always stayed at 91 % of charge
Here the services of which I got rid:
LockScreenService
BackupTransport
Googlelocationservice
GoogleLocationManagerService
GcmService
These four services were always active as background processes on my phone.
Then, using Gemini App Manager, I went to Google Play Services, and by going under "AppOps" I turned off the "Wake Lock" authorization.
Furthermore, I also disabled other services related to G apps which I don't use:
com.google.android.gms.drive.api.DriveAsyncService com.google.android.gms.fitness.sync.FitnessSyncAdapterService
com.google.android.gms.games.service.GamesSyncServiceMain
com.google.android.gms.games.service.GamesSyncServiceNotification
com.google.android.gms.drive.metadata.sync.syncadapter.MetadataSyncService
com.google.android.gms.plus.service.OfflineActionSyncAdapterService
com.google.android.location.reporting.service.ReportingSyncService
com.google.android.gms.kids.restrictions.sync.RestrictionsSyncService
com.google.android.gms.drive.metadata.sync.syncadapter.SyncAdapterService
com.google.android.gms.subscribedfeeds.SyncService com.google.android.gms.kids.timeouts.sync.TimeoutsSyncService
com.google.android.gms.fitness.wearables.WearableSyncService
and all services related to Google Drive.
But the above section i'm not sure which is useful, since I never seen these services active on my phone, also because I uninstalled a lot of g-apps (Drive, Games, Plus, Books, News, Music).
I will keep updated this discussion when/if I will encounter some trouble (eg I want to test Google Maps and the GPS).
Dude i got the same problem!! But i play quite a lot with my Mi4c so i sould care what i'm going to stop!
This thing is really annoying anyway :/
How did you uninstall them my ex synced our phones plus added things to spy but its not even letting me forcestop some of them what he has added and is remote using or bridgung....has able to see everything text messages phone calls my pictures everything. ..HELP PLEASE HELP
Hi! Does someone know, how to enable doze mode/battery optimization for GooglePlayServices app on latest Pie version?
I tried edit google.xml file, but it doesn't work for me on android 9. This "crap" eats my battery Any ideas? Thanks
Settings > Apps > See All Apps > Select 'Google Play Services' > Advanced > Battery.... It should be in that path.
However, I've been harping on this bug [1] we've caught which drains your battery rapidly if you have a Static IP configuration instead of DHCP configuration when using your Wi-Fi connection. It took quite a bit of narrowing it down but it's been replicated by a few people now [2].
[1] https://issuetracker.google.com/issues/112927337
[2] https://forum.xda-developers.com/pixel-2/help/battery-life-considerably-worse-update-t3827066
It is not wifi bug on my side and yes, you can turn battery optimization almost for all apps, but GMS are "protected". I want to find solution, how to evade this protection
I too am seeing very high battery drain from Google Play Services on 9.0. Pie won't let you enable battery optimization for that particular service/app. I've tried everything I know, including updating to the latest beta Google Play Services from APKMirror, to no avail. Anyone have any "creative" ideas how to limit Play Services' background processing?
Don't other apps leverage Google Play Services? So maybe it's some other app being over enthusiastic?
I don't think I'm seeing excessive consumption so it's not a universal problem (0.4 - 0.7% hr over night, and Google Play services showing as 16%, Phone Idle at 35%).
I found a solution:
Code:
https://forum.xda-developers.com/pixel-2/themes/mod-enable-doze-gms-pie-t3849093
Closed at OP's request.