Google play services battery drain fix - Nexus 5 Q&A, Help & Troubleshooting

After trying everything I found a solution for this without disabling anything.
The google play services battery usage is now decreasing.. It went from 32% to 11% in an hour.
Here is the fix:
Settings - Apps - Google Play Services - disable
Then it will ask you to disable some administrator rights or something (I dont remember). Do it
Then it will ask you to return app to factory version, press yes.
Thats it.
Good luck

skipped said:
After trying everything I found a solution for this without disabling anything.
The google play services battery usage is now decreasing.. It went from 32% to 11% in an hour.
Here is the fix:
Settings - Apps - Google Play Services - disable
Then it will ask you to disable some administrator rights or something (I dont remember). Do it
Then it will ask you to return app to factory version, press yes.
Thats it.
Good luck
Click to expand...
Click to collapse
Instead of posting a new thread, you could just post it in the main thread so everyone who's subscribed to it will see this possible fix.

bilago said:
Instead of posting a new thread, you could just post it in the main thread so everyone who's subscribed to it will see this possible fix.
Click to expand...
Click to collapse
I thought that, but not everyone will search in the replies of that thread until they find the answer. I can put it there too.
Thanks

skipped said:
After trying everything I found a solution for this without disabling anything.
The google play services battery usage is now decreasing.. It went from 32% to 11% in an hour.
Here is the fix:
Settings - Apps - Google Play Services - disable
Then it will ask you to disable some administrator rights or something (I dont remember). Do it
Then it will ask you to return app to factory version, press yes.
Thats it.
Good luck
Click to expand...
Click to collapse
Great tip ! I now have great (better than with Android 4.3) battery life without doing a factory reset ! Thanks

Does the problem ever come back after you do this? Seems like once Play updates itself again the problem would return.

Related

[All roms][Sharing] Huge battery saver!

Google think that almost every device running android, is their device. Therefore they implemented a service within Google Play Services that will connect your device often to the Google and it will drain more battery then needed.
NOTE:
I tried a method that was shown on i think this forum or another one. I can't remember which one it was, and i cant find the thread either.
So before i am going to start this, i wanna thank the guy from the original thread for this, even if i dont know where i can find you. I am only sharing this so i take NO CREDITS.
I repeat, i am ONLY sharing this.
+ Works with:
- AOSP roms
- TW roms
- Well, basicly all android running devices :fingers-crossed:
To start with:
- Turn of location settings
- Go to settings, accounts and go to your google account.
+ go to advertisements and untick the toggle that says that Google takes care of your advertisements.
Most important:
- Download Adaway (latest) from HERE.
Thank you @mrRobinson for this awesome app!
- Open adAway and provide Adaway root access.
- Press the menu button and go to your own custom list.
- Now add a line by pressing the + button in the upper right of the screen.
- Add the following line < mtalk.google.com >
- Make sure the the checkmark is ON with the "mtalk.google.com" line.
- Now go back to the homescreen of adAway, apply the patch.
Note: According to the maker of the original thread, this seems to be the server that your device is always trying to communicate with. So by blacklisting this URL, there is no connection anymore.
Note 2: Cyanogenmod (and maybe other AOSP or GE users) are experiencing that the Blue highlighted WI-FI icon and the blue highlighted antenna icon are now GREY after applying this.
This is because you are not connected anymore to the google servers.
Note 3: Keep in mind that you can still manual synchronise your calander, contacts, Gmail, and other Google account related.
ramon.nmgn said:
Note 3: Keep in mind that you can still synchronise your calander, contacts, Gmail, and other Google account related.
Click to expand...
Click to collapse
This (syncing) only applies for manual updates. Leaving the entry in Adaway will disable auto-updates. Not a viable option for me, am not going to manually refresh Google apps...
Pfeffernuss said:
This (syncing) only applies for manual updates. Leaving the entry in Adaway will disable auto-updates. Not a viable option for me, am not going to manually refresh Google apps...
Click to expand...
Click to collapse
Thanks for the heads up.
Thanks for this.
I don't think Ad away works as it should though.
It says its syncing and merging with my current hosts file but after doing that my hosts file goes from 1.4mb to 700kb. So all its doing is deleting stuff. Weird
Sent from my GT-I9000 using XDA Premium HD app
Obagleyfreer said:
Thanks for this.
I don't think Ad away works as it should though.
It says its syncing and merging with my current hosts file but after doing that my hosts file goes from 1.4mb to 700kb. So all its doing is deleting stuff. Weird
Sent from my GT-I9000 using XDA Premium HD app
Click to expand...
Click to collapse
Ah i did not checked my host file if became smaller. But adAway definitely works for me as it completely rebuilds the host file.
Sent from my GT-I9505 using XDA Premium 4 mobile app
how about deleting google play services if dont need automatic syncing?
Pfeffernuss said:
This (syncing) only applies for manual updates. Leaving the entry in Adaway will disable auto-updates. Not a viable option for me, am not going to manually refresh Google apps...
Click to expand...
Click to collapse
I believe this is not a viable option for many users for the same reason ...but still for some may be useful
Vihru said:
how about deleting google play services if dont need automatic syncing?
Click to expand...
Click to collapse
I think if you do that, you are not even able to Sync and update your apps at al.
I am just sharing this, i am using it myself and im pretty satisfied.
ramon.nmgn said:
I think if you do that, you are not even able to Sync and update your apps at al.
I am just sharing this, i am using it myself and im pretty satisfied.
Click to expand...
Click to collapse
I always delete GooglePlayServices and never have any problems with apps updating.
I still get notifications in my status bar telling me when there is an app update available in the Play Store and also still get my Gmail notifications in my status bar.
Syncing works perfectly and so does Maps, Google Search, YouTube etc.
I actually can't see ANY reason to have GooglePlayServices installed.
All my Google apps still function perfectly without it.
And I no longer have RAM wasted and battery used up by this annoying app!!
My advice to everyone, delete it, it's not needed at all.
Obagleyfreer said:
I actually can't see ANY reason to have GooglePlayServices installed.
All my Google apps still function perfectly without it.
Click to expand...
Click to collapse
Was pretty euphoric when I read this so immediately disabled Play Services and rebooted like a happy little kid :laugh:
That level of joy didn't last long:
Maps, Calendar, Keep, Youtube, these all need G.P.S. to function properly. Maybe even more apps but this is where I stopped.
Needless to say turned it back on again. This, as well, is not a viable option for me
Pfeffernuss said:
Was pretty euphoric when I read this so immediately disabled Play Services and rebooted like a happy little kid :laugh:
That level of joy didn't last long:
Maps, Calendar, Keep, Youtube, these all need G.P.S. to function properly. Maybe even more apps but this is where I stopped.
Needless to say turned it back on again. This, as well, is not a viable option for me
Click to expand...
Click to collapse
Did you tried the method i mentioned? :happy:
Sent from my GT-I9505 using XDA Premium 4 mobile app
Pfeffernuss said:
Was pretty euphoric when I read this so immediately disabled Play Services and rebooted like a happy little kid :laugh:
That level of joy didn't last long:
Maps, Calendar, Keep, Youtube, these all need G.P.S. to function properly. Maybe even more apps but this is where I stopped.
Needless to say turned it back on again. This, as well, is not a viable option for me
Click to expand...
Click to collapse
That's odd, I don't get Google Maps requesting Play services on my device.
I do get one of those notifications after wiping cache and dalvik cache though, I just swipe it away and carry on as normal.
After you swiped them away can you still use the apps requesting it?
For example when I first boot up YouTube after wiping cache it says it needs PlayServices to run but I just ignore and cancel it.
I have never lost any YouTube functionality at all.
ramon.nmgn said:
Did you tried the method i mentioned? :happy:
Click to expand...
Click to collapse
What method? Entering the mtalk line?
Obagleyfreer said:
After you swiped them away can you still use the apps requesting it?
Click to expand...
Click to collapse
Some yes, some no. Keep refused to work. Anyway, can easily make it through the end of the day anyway and will always charge at night so no biggie but all small bits can help of course. This fix is a bit too coarse, for me that is of course

prevent Google play services and Google maps from running in background

I know all the good stuff Android says about auto killing memory threads when there is a need BUT I am a micromanager for my Android . I JUST DONT WANT Google Play Services and Google Maps service to run in background as if they own the OS (sounds like Google like to keep google running after all ) .
Is there ANY way e.g....
-- Command via terminal
-- Any APP out there
-- a file change
that will prevent these suckers from running in the background. Google claims that these are innocent little puppies -just sit in the memory and dont consume CPU . Really ? NOT SO ..
-- They consume SLOW NETWORK bandwidth and cpu ( Keep a port checking s/w and see the android's IP doing some mischief through random ports, EVEN when its not in use )
-- Suck the battery
-- I JUST DON'T like carrying a lot of unnecessary stuff in the trunk of my car ..Ok?
I know there were some apps that would MODIFY default permissions on each app. Could they help . Could someone run me a few names
I feel the same way. I want to keep Google Play from looking for updates in the background. Glad to know I'm not the only one!
I'm not exactly sure of the end result. But maybe you could use a titanium backup widget to freeze/unfreeze Google play services. I did it to g maps and the toggle widget works perfect I just haven't tried play services because not sure if it will break something lol.
Sent from my SAMSUNG-SGH-I747 using Xparent Blue Tapatalk 2
djwuh said:
I'm not exactly sure of the end result. But maybe you could use a titanium backup widget to freeze/unfreeze Google play services. I did it to g maps and the toggle widget works perfect I just haven't tried play services because not sure if it will break something lol.
Sent from my SAMSUNG-SGH-I747 using Xparent Blue Tapatalk 2
Click to expand...
Click to collapse
I am already using Link2SD ( BTW I met some other serious issues with it - no one here in XDA has bothered to reply to me ) and I froze the following apps that run in the background without asking me
-- google services framework
-- google play
-- airdroid
- some other google service ( not sure of name )
i will unfreeze only when I need to , rest times I am good. Miss out updates - but who cares - I dont - actualyl updates are a pain in b**t when they keep happening every other day
I wondered if there is some s/w out there that will change the ACL's of these files so that they cannot exe, automatically.
sieger007 said:
I am already using Link2SD ( BTW I met some other serious issues with it - no one here in XDA has bothered to reply to me ) and I froze the following apps that run in the background without asking me
-- google services framework
-- google play
-- airdroid
- some other google service ( not sure of name )
i will unfreeze only when I need to , rest times I am good. Miss out updates - but who cares - I dont - actualyl updates are a pain in b**t when they keep happening every other day
I wondered if there is some s/w out there that will change the ACL's of these files so that they cannot exe, automatically.
Click to expand...
Click to collapse
You froze Google Services Framework and your phone still worked???
I'd like to see a full list of what you froze.
EEngineer said:
You froze Google Services Framework and your phone still worked???
I'd like to see a full list of what you froze.
Click to expand...
Click to collapse
some google service - I will double check the name. Try it . How cares - unfreeze if it does not work . I froze the sim#2 service also because i dont use it Think Linux - what do you need to run it
I just tried something different, I used DroidWall to block network access to the following services:
Google Play Services
Google Services Framework
Google Account Manager
Network Location
Google Bookmarks Sync
Google Contacts Sync
They were all listed as one item so they had to be blocked all at the same time. I will report what happens.
It's possible, annoying part is having to defrost services to install/update an app. Once in hibernation with the correct apk you'll be fine with no orange bars.
Make sure to delete all /data/data gsf stuff
Sent from my Nexus 5 using Tapatalk 2
EEngineer said:
I just tried something different, I used DroidWall to block network access to the following services:
Google Play Services
Google Services Framework
Google Account Manager
Network Location
Google Bookmarks Sync
Google Contacts Sync
They were all listed as one item so they had to be blocked all at the same time. I will report what happens.
Click to expand...
Click to collapse
Any updates on if this helped or not? Did it cause any negative effects?
No negative effects, and tablet is FASTER! Only thing is I have to unblock Google Play Service to check for app updates, but I only do that twice a month anyway.
EEngineer said:
No negative effects, and tablet is FASTER! Only thing is I have to unblock Google Play Service to check for app updates, but I only do that twice a month anyway.
Click to expand...
Click to collapse
Is there not a way to disable them all apart from G Play Service?
oscarandjo said:
Is there not a way to disable them all apart from G Play Service?
Click to expand...
Click to collapse
Not sure I understand your question. I've discovered it's safe to block network access to them all.
Notice: Improvements to 10 Post Rule
A New Q & A thread , for This Topic has been created in the Q&A, Help & Troubleshooting Sub-Forum.
New Discussion and Q & A Tabs have also been created, located just under threads Title when viewing in a Browser.
Posts from members with less than 10 posts will automatically be posted in the new Q & A thread.
Please check it out, and see if you can help out someone with a question about this Topic.
For more about this new feature see: Improvements to 10 Post Rule
if you block Google Play services and account manager your Gmail App will not work unless you are accessing Gmail through some other third party imapclient can someone confirm if Gmail App will work when these guys are blocked

[Q] Cancelling update for one speficif app?

Hi folks,
While tweaking my phone I accidentally clicked Google Hindu Input on Keyboard & Language section. Even though I unclicked it afterwards, Google Play wants to update it (I manually update my apps). I disable the Input notifications from Apps menu, but it is still shown up under Google Play "update your apps" menu. I installed and uninstalled it, yet to no avail. Is there any way to unlink my connection with it?
I'm using rooted Nexus 5.
I had the same problem, all you have to do is go to Settings>Apps>All>Google Hindu Input>Disable
And that should do the trick!
P.S. it should look like the picture after all said and done..
Sent from Google Nexus 5, the best freaking phone ever!
roelmmata said:
I had the same problem, all you have to do is go to Settings>Apps>All>Google Hindu Input>Disable
And that should do the trick!
Click to expand...
Click to collapse
Thanks for the reply. I did it first, but it said it could affect other apps performances as well, as it is a part of system apps. So, I think I need to give it a try again. Thanks.
himgil said:
Thanks for the reply. I did it first, but it said it could affect other apps performances as well, as it is a part of system apps. So, I think I need to give it a try again. Thanks.
Click to expand...
Click to collapse
Also found that Titanium Backup has bunch of market related functions. I'm a noob to the app, but if I find anything to solve my problem, I'll post it here.

How to fully disable Android Device Manager ?

Greetings.
as you know, even if we disable "android device manager" from settings->security->device administrators, it still can be enabled from https://www.google.com/android/devicemanager "enable lock & erase"
from one side it is good, but from other side it is bad - i don't want that my phone can be remotely erased by google
this functionality definitely resides in gmscore.apk
of course, we can just kill all google services, but we loose too much.
so : probably someone from devs here already know answer what to patch in gmscore to disable this behavior ?
with latest gmscore update ( 6.1.74 (1511752-038) ) the only message i can see, when pushing "enable lock and erase" :
GCM message com.google.android.gms 0:1414056810224892%136ddda63e77bab2
Click to expand...
Click to collapse
of course, hex payload different each time.
disabling service
Code:
com.google.android.gms.mdm.services.GcmReceiverService
did job
:good:
Thanks you, I 'm searching since 10 minute.
the_laser said:
disabling service
Code:
com.google.android.gms.mdm.services.GcmReceiverService
did job
Click to expand...
Click to collapse
Thanks! I was wondering how to do that.
thanks, but...
the_laser said:
disabling service
Code:
com.google.android.gms.mdm.services.GcmReceiverService
did job
Click to expand...
Click to collapse
I can't seem to find that service, heck I can't even find gmscore.apk
When I use find / -name gmscore.apk in terminal nothing came up.
Running 4.4.2 on galaxy S5, google framework 4.4.2-940549
Any ideas?
I would really not want my device wiped If my google account was compromised (really only have it for android)
as i remember, this service because build into gmscore from 4.4.4 and enabling downloading some external application.
can be wrong, though.
damn it google!
This is really frustrating. I can't find a way to disable it and I can't find 'com.google.android.gms.mdm.services.GcmReceiverService'.
This a serious security flaw, let me explain why.... I have a company account on my phone, just for the purpose of receiving gmail, and that's very important to me. This also means this account can access my phone through android device manager. So, anyone that can log in to firm's gmail can lock and erase my phone and there's no way to disable it. Best I could do was turn off location reporting and hide my phone from showing in device list. However, anyone that can log in to this account, can also change this in settings and unhide it, enable lock and erase, make it ring and.... well, lock and erase it.
This is very worrying when you have a lot of people with access to gmail account that you also have on your phone. ATM only solution I see is to remove account on my phone and search for other email app.
Anyone knows how one could deal with this and still use gmail app?
gimche said:
This is really frustrating. I can't find a way to disable it and I can't find 'com.google.android.gms.mdm.services.GcmReceiverService'.
This a serious security flaw, let me explain why.... I have a company account on my phone, just for the purpose of receiving gmail, and that's very important to me. This also means this account can access my phone through android device manager. So, anyone that can log in to firm's gmail can lock and erase my phone and there's no way to disable it. Best I could do was turn off location reporting and hide my phone from showing in device list. However, anyone that can log in to this account, can also change this in settings and unhide it, enable lock and erase, make it ring and.... well, lock and erase it.
This is very worrying when you have a lot of people with access to gmail account that you also have on your phone. ATM only solution I see is to remove account on my phone and search for other email app.
Anyone knows how one could deal with this and still use gmail app?
Click to expand...
Click to collapse
Instead of a problem with ADM, this sounds like a massive security issue on your company's side. I don't know why your company need to share the same email account, but the more people who have access, the more likely someone will spill the beans. If I am you, getting my phone wiped will the least of my worries.
Sent from my iPhone using Tapatalk
Thank you, that is what I want. Great!
Ok so Im facing the same problem is there any way to disable this process ?
gimche said:
This is really frustrating. I can't find a way to disable it and I can't find 'com.google.android.gms.mdm.services.GcmReceiverService'.
This a serious security flaw, let me explain why.... I have a company account on my phone, just for the purpose of receiving gmail, and that's very important to me. This also means this account can access my phone through android device manager. So, anyone that can log in to firm's gmail can lock and erase my phone and there's no way to disable it. Best I could do was turn off location reporting and hide my phone from showing in device list. However, anyone that can log in to this account, can also change this in settings and unhide it, enable lock and erase, make it ring and.... well, lock and erase it.
This is very worrying when you have a lot of people with access to gmail account that you also have on your phone. ATM only solution I see is to remove account on my phone and search for other email app.
Anyone knows how one could deal with this and still use gmail app?
Click to expand...
Click to collapse
deadwolf666 said:
Ok so Im facing the same problem is there any way to disable this process ?
Click to expand...
Click to collapse
tamuin said:
I can't seem to find that service, heck I can't even find gmscore.apk
When I use find / -name gmscore.apk in terminal nothing came up.
Running 4.4.2 on galaxy S5, google framework 4.4.2-940549
Any ideas?
I would really not want my device wiped If my google account was compromised (really only have it for android)
Click to expand...
Click to collapse
Install My Android Tools then go to Service>Google Play Service then disable the corresponding service.
https://play.google.com/store/apps/details?id=cn.wq.myandroidtools&en
How about using a ROM without gapps?
Cyclu said:
Install My Android Tools then go to Service>Google Play Service then disable the corresponding service.
https://play.google.com/store/apps/details?id=cn.wq.myandroidtools&en
Click to expand...
Click to collapse
This dosent appear to be working, as after I disable all the above services, clicked on "enable lock and erase" from my google account it reactivated said services. So which service is activating and overriding the services I disabled?
Im running Android 4.4.2(goldeneye rom, Googymax kernal) on a Samsung i9505, I use Xprivacy, Android firewall, and Appmaster(app uninstaller & autostart manager)
Trying to secure an oem samsung Rom from google and its services while still using all the factory apps is going to be like herding cats...
It's similar to going to the pool and expecting to swim but not getting wet.
If you use Google apps and use the accounts feature of Android then you are going to have Google play services and other Google services running, and sadly you can stop them all you want they update and restart themselves regularly.
You just can't get away from Google, if you still use Google play, the Google mail app, Google voice search, Google account verifier, Google download manager, Google hangouts, Google plus or the host of other Google services and apps that a baked into your rom.
All you will do in find yourself with a lot of force closes from apps, and less hair more cats.
What @Cyclu said was the right way. there are several services and receivers that have "mdm" , probably what you could do is use the search function in the app while viewing the services for GooglePlayServices. at the top of the screen, click menu, toggle full, (full/short option) then tap the magnifying glass, then the search box and type "mdm" , then do the same thing under the receivers section
This is so annoying. Can you imagine disabling admin on the phone, knowing that after reading the description in that area of the settings that it cannot be used to wipe the phone? Then someone testing it to prove it and they click "Enable" and wipe the phone? Know how dangerous that is? My phone is an S5 mini, stock firmware and rooted with SuperSU. What can I do to just prevent admin mode being enabled? I want to be able to track my phone's location but I do NOT want my phone able to be remotely wiped by anyone including myself, remotely.
I tried all. Looks like there is no way to disable ADM. Even if u disable corresponding service for ADM still when u restart that service gets re-enables it self again. Had any got a solution to disable this crappy android device manager fully?? thx in advance.
Forgive me, but this thread is just pathetic. If you have Gapps, your device is not yours. It is Google's. Period. If you can't live without hangouts and similar garbage, then enjoy them, but stop *****ing about remote wipe. You can't be half-pregnant. By the way, remote wipe is not the worse thing that could happen to you. Anything could be silently installed on "your" phone, even if you somehow disable ADM. It could be done through Google play and google services framework. Not to mention thar google analytics record everything about your activities and gsf regularly reports the same "home" i.e Google.
To gmail at work guy: if you can't use another client to access your work gmail, get a separate feature phone.
even "android = google" ? much less gapps , eh ?
"all i can really do is stay out of my own way and let the will of heaven be done"
mrrocketdog said:
even "android = google" ? much less gapps , eh ?
"all i can really do is stay out of my own way and let the will of heaven be done"
Click to expand...
Click to collapse
Android, unlike Gapps, is open source. So, you can get under the hood and clean lots of things.

Nubia X Pubg Closing

Hı friends.
My question The pubg I have downloaded from the Play Store .closes at different times (randomly) in the game.
I think it’s a issue with google play services as the phone clears the ram every so often, it’s more extreme of a clear as it is aimed at the Chinese market. the only temporary solution for now is to delete the freezer file as this can allow apps to stay running in background e.g google play services
Nubia2452 said:
I think it’s a issue with google play services as the phone clears the ram every so often, it’s more extreme of a clear as it is aimed at the Chinese market. the only temporary solution for now is to delete the freezer file as this can allow apps to stay running in background e.g google play services
Click to expand...
Click to collapse
What is the freezing application?
How can I delete? .
Google Maps also cannot create route on mobile internet.
This should help
Nubia2452 said:
This should help
Click to expand...
Click to collapse
I did it, but it's still beating.
And I may have finally discovered the problem.
Problem Managing Power. Point to the Game / Application battery tab at the bottom right of the power management section. I gave full control back I came back again and turned my choice back to old.
The problem is in the power saving / control section. we need to disable it somehow.
I am writing English with translation.
If I have the wrong translation, I put video.
https://youtu.be/3V76mDzsbJY

Categories

Resources