Google Play Services high battery questions/fix - Nexus 5 Q&A, Help & Troubleshooting

So with App Ops I turned "location" and "keep awake" for Google play services using "App Ops 4.3/4.4 KitKat" by Color Tiger and my usage went from 10-20% depending on my on screen time to 3% without anything crashing so hopefully that'll help others out. Trying it on my nexus 7 2013 too.
If anyone knows why location or keep awake is necessary please let me know.

Are other apps that require or use location still working (and have location)? I believe Google Play Services is the api other apps go through to obtain location. I was going to try this myself also but was afraid of breaking other apps.
Sent from my Nexus 5 using xda app-developers app

dpvu said:
Are other apps that require or use location still working (and have location)? I believe Google Play Services is the api other apps go through to obtain location. I was going to try this myself also but was afraid of breaking other apps.
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
I haven't noticed anything not updating. EWeather, google now, and my other services are still doing great.

Do you still have push notifications (for hangouts or whats app or facebook messenger) when you turn of keep awake ?

Related

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] Google play services and google services framework

Guys, I'm losing my mind over their wake and battery use. I'm on Slim 8.0 and franco r63 and already done the following:
Yeah, so I've turned OFF 'wake' in privacy manager, I've cancelled 'wake' permission in Android Tuner, I've disabled ads / location activity, and turned off sync and STILL I get ~40% drain from stinking GOOGLE SERVICES!!
Last night was last straw of me, so I wiped / reflashed SLIM 8.0 and franco kernel r63, set max CPU to ~1450, max GPU to ~380, downvolt ~25ma and waiting to see result.
WHY are google services such a PITA when it comes to WAKE and BATTERY USE when I've obviously disabled their ability to both WAKE and COMMUNICATE?
It's driven me absolutely BATTY. My wife's S4 has the same issue and I'm about to be DONE with all Google crap on her phone also.
I've google the issues and they are THOUSANDS of reports of similar problems.
If ANYBODY has a better idea I'd really appreciate it. Different ROM, different kernel, ANYTHING.
UPDATE: 4 hours 37 minutes > 90% left... with a lot of 9gagging in that time
Battery help thread linked in my signature.
Had the issue earlier today. Settings > Storage > Clear Cache > Reboot seems to have worked.
Make sure to not disable GPS, doing so for some reason will have that process constantly scan for location and keeping your device awake.
Sent via Telnet
Never heard of the 'GPS on' trick, but I checked location and no apps have requested location.
I tried to load a 'mini Gapps' package for SLIM but it's same story, device NEVER sleeps. No sync, no location, disabled 'wake' for the services, everything... glad I backed up the system with NO Gapps because I'll likely be restoring...
Really, really, really pathetic that SO many people have this program. What the hell is wrong with google??
Im convinced google play services is nsa spyware. Anyone care to prove me wrong? I would feel bette if you could. I have uninstalled it several times and it WILL NOT GO AWAY. And it uses more permissions than any other app I have. It will not stop running. It behaves like a virus in my opinion. Am I just a conspiracy nut?
Sent from my LG-VS450PP using XDA Free mobile app
whodisname said:
Im convinced google play services is nsa spyware. Anyone care to prove me wrong? I would feel bette if you could. I have uninstalled it several times and it WILL NOT GO AWAY. And it uses more permissions than any other app I have. It will not stop running. It behaves like a virus in my opinion. Am I just a conspiracy nut?
Sent from my LG-VS450PP using XDA Free mobile app
Click to expand...
Click to collapse
1. Google uses it for things like Analytics
2. Most apps depend on it as a framework to do things, hence the permissions
3. It updates in the background automatically
4. This is Android. Android means Google.
5. If you don't like that, switch to using the Amazon app store, or buy a crappy iOS device.
Well, I just removed it (it was a pita due to no recovery on phone so i gotta be delicate!) and maps still works. Thats the one app I cant live without. I havent checked everything yet but nothing I have used thus far seems affected. Used TB to remove market links.I use an alternate app store already. My phone runs MUCH faster. I will never own a crappy Iphone device!!!
Everything checked. All works.
Sent from my LG-VS450PP using XDA Free mobile app
You don't need GPS ON, just freeze google play store and services and enjoy LONG battery life. Only thing that works for me 100% of the time....

Wake lock detector and Google Services

I'm just wondering if what Wake Lock Detector is reporting (a LOT of activities from Google Services - see screenshots) is normal. I don't really know much about what this means but the OS is reporting rather high battery usage of Google Services. It's been happening for four days now. I only used location services yesterday for a little while. I did make a new profile in Tasker for turning on LS whenever Google maps is opened, but I don't open Google maps all that often.
Any idea what that means and why is Google Services using that much energy?
Thanks in advance.
Sent from my Nexus 5 using XDA Free mobile app
Maybe...
I think that It can be because of an application download the Google Play lib file and also use the WAKE LOCK in USER PERMISSION and maybe this Activity it is not destroyed at all when the app is closed... But I am not sure

Google play services won't stay hibernated ?

Is there any way to view the full path for cut off in greenify? Trying to figure out what keeps waking Google play services when all I've done is unlock my phone and open greenify.
There's also at times conflict between disable services and greenify. Play services show in greenify as running but when I go to disable services it often shows none are running.
I want to kill the path that keeps waking it for greenify but I want to research it first.
Literally all I use is the store at this point. YouTube too but through browser not the actual YouTube app. Chrome here and there but not often, been mostly using armor fly.
Does there exist a list which shows which services are needed for what functions? I can find other people's troubleshooting but no confirmed lists.
Also been wondering the same for everything in general, there are probably more apps I don't need but can never be sure.
I'm on s5 neo rooted 5.1.1 Samsung software
Sent from my SM-G903W using XDA-Developers Legacy app

How to disable these errors?

many apps don't actually need Google play services to run properly. It's a huge battery hog, and since I only use the very occasional maps, and I check for app updates manually already anyway. I have it frozen with no ill effects for what I normally use, and enable when needed.
The only problem is that popup saying to enable them or the app won't run. I can disable notifications for Zedge and I don't care, but for something like my texting app, if I disable those ones I won't know about new messages either. The texting app itself, of course, runs just fine as well.
Please don't preach about how essential those services are, I know most users rely heavily on them. My situation is rare, I know that. Just looking to save battery without the hassle of those pretend warnings.
Pawprints1986 said:
many apps don't actually need Google play services to run properly. It's a huge battery hog, and since I only use the very occasional maps, and I check for app updates manually already anyway. I have it frozen with no ill effects for what I normally use, and enable when needed.
The only problem is that popup saying to enable them or the app won't run. I can disable notifications for Zedge and I don't care, but for something like my texting app, if I disable those ones I won't know about new messages either. The texting app itself, of course, runs just fine as well.
Please don't preach about how essential those services are, I know most users rely heavily on them. My situation is rare, I know that. Just looking to save battery without the hassle of those pretend warnings.
Click to expand...
Click to collapse
Maybe, instead of freezing Google Play Services, you can manage the individual services that it has running(I can't remember the name of the app used to disable in-app services) to disable the battery hogging services while leaving the rest of the services going. This might trick the system into detecting that Google Play Services is running(this might stop the error message), but the services that are running will use very little battery(depending on which services you disable).
Sent from my SM-S767VL using Tapatalk
Droidriven said:
Maybe, instead of freezing Google Play Services, you can manage the individual services that it has running(I can't remember the name of the app used to disable in-app services) to disable the battery hogging services while leaving the rest of the services going. This might trick the system into detecting that Google Play Services is running(this might stop the error message), but the services that are running will use very little battery(depending on which services you disable).
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
Only issue with going that way is I've never found a comprehensive list as to what each service is needed for (for my needs mainly the play store, but also the occasional maps). Those are the only 2 things that truly don't run properly with all of those services stopped. With the apps I currently use that is. I know things could change, but for now at least...
Sent from my [device_name] using XDA-Developers Legacy app

Categories

Resources