Batter drain - T-Mobile Samsung Galaxy S 4

Why is google services higger than display
Sent from my SAMSUNG-SGH-I337 using xda premium

ktetreault14 said:
Why is google services higger than display
Sent from my SAMSUNG-SGH-I337 using xda premium
Click to expand...
Click to collapse
This is the perfect kind of question for the Help Thread pinned at the top of this forum. See link in my signature for the direct route.
Anyway, Google Services has gotten a little out of hand with how much it thinks your phone is Google's for Google to use as Google sees fit. Perosnally I hate that and I cripple the GSF's ability to take too much control of my phone.
Full disclosure, I haven't done this on a GS4 yet, but the phone model shouldn't matter as the Google Services Framework isn't model specific. I've done this on an HTC Sensation, HTC Glacier, and a Samsung Galaxy Tab 2 and I get a noticable improvement in battery life and reduced wakes / wakelocks.
This is a good old fashioned dirty fix, as it breaks some things. GTalk and GNow or whatever Google is calling those services this week (and maybe a few other things) will not work after doing this. They are casualties of the dirty fix. But if you're like me and never use GTalk or GNow this will help. Basically the only Google service I use is the Play Store. So I disable everything in the GSF that isn't needed to run teh Play Store. Gmail and Google Maps are unaffected by the changes I list below.
I use System Tuner Pro to disable some of the start up items in the Google Services Framework. Additionally I froze the GTalk and Gnow (Google Search) apps. And no, you can't just freeze those two apps without touching the GSF. The GSF will still create wakelocks when trying to activate them even if they are not there. So you have to modify the GSF as well.
These are the things that I disabled in the GSF using System Tuner Pro. Basically anything that starts with GTalk or Talk in the GSF can be disabled.
gtalkservice.diagnostits.gtalkdiagnostics
gtalkservice.connection autherrordialog
talk.talkprovider
gtalkservice.diagnostics.gtalkdiagnosticsbroadcast reciever
gtalkservice.serviceautostarter
gtalkservices.datamessagereciever
gtalkservice.sendxmppreciever
gtalkservices.packageinstalledreciever
gtalkservice.xmppendpointreciever
gtalkservice.service.stalkservice
gtalkservice.pushmessagingregistar
These are optional other services to stop, but these will just stop a few extra alarms and wake ups. Having these stopped may disable more Google Services.
checkin.checinservices$reciever
checkin.checkinservices$triggerreciever
checkin.eventlogservices$receiver
checkin.eventlogservice
You can freeze the GSF entirely with 1 easy step and that will also kill the wakelocks. But the Play Store becomes another casualty if you do that. Disabling the events above will stop the Google Services wakelocks dead in their tracks, and allow the Play Store to continue working. (Though I haven't tried purchasing a paid app yet)
Other minor quirks...when installing an app from the Play Store after making these changes you may not get the notifications in the status bar showing that it's downloading or installing. It still works, you just don't get the notifications.
Also, when you turn on wifi or mobile data, the signal bars don't turn colors. They stay gray because you aren't connecting to the google servers anymore. (They normaly change color to indicate that you are connected to the Google servers)
I highly recommend making a Nandroid backup before trying any of this. Once you do that, go nuts! Try to activate or disable more events and see what your results are. You can't hurt too much when messing with the GSF because it will just shut down google elements. Worst case, you can always just reactivate everything, reboot, and it'll all work like it did before you messed with it. Super worst case, you can just restore your backup and it'll return you to normal. There is absolutely nothing you can break permanently by trying this.

So if you use Talk or Google Now your battery's pretty much screwed?

rizoh66 said:
So if you use Talk or Google Now your battery's pretty much screwed?
Click to expand...
Click to collapse
Those apps certainly don't make battery life better. That's for sure.
Google's goal with those apps is to create a good user experience. They are not considering battery life or sharing system resources. As a result the apps work great and look super pretty, but they come at the cost of battery life and priority resource access. If maxing out the cpu to make sure the phone is connected to the Google talk server is what it takes to make sure its ready to go whenever you take the phone out of your pocket, then that's what Google is going to do.
They care about the 98% of android users who wouldn't know how or even care to look at the battery stats who will tell all their iPhone using friends how smooth and fluid the GTalk is. They don't design the Google Services Framework for the 2% of people who will care about the overuse of system resources. And they really don't design it for the 0.5% of users who might be able to limit the reach of the GSF.
You can limit Google's use of your system through less invasive means as well, like turning off sync and what not. That will make a dramatic impact. But doing that combined with what I do to disable GTalk completely and totally eliminates wake locks caused by Google. I can keep my device on for a week and the battery stats will not show a single Alarm caused by Google or 1 second of wake lock. But I'm willing to trade off not using some of the Google servicesmto make that happen.
Sent from your phone. You should be careful where you leave that thing.

But it is the first time this has happened
Sent from my SAMSUNG-SGH-I337 using xda premium

ktetreault14 said:
But it is the first time this has happened
Sent from my SAMSUNG-SGH-I337 using xda premium
Click to expand...
Click to collapse
Then try a reboot. Sometimes you just get a bad battery cycle that is plagued by wake locks.
Sent from your phone. You should be careful where you leave that thing.

Related

Running services?

How much battery do running services use? With froyo I don't see any way to stop them unless someone knows of a way to do it. My widgets always restart in the background and cnet is always running even though I don't have it set as a widget. All the apps that stop them dont work on froyo. Is killing running services the same as killing tasks as in its bad for the phone?
wings9130 said:
How much battery do running services use? With froyo I don't see any way to stop them unless someone knows of a way to do it. My widgets always restart in the background and cnet is always running even though I don't have it set as a widget. All the apps that stop them dont work on froyo. Is killing running services the same as killing tasks as in its bad for the phone?
Click to expand...
Click to collapse
Yeah, don't stop services manually unless you absolutely have to. These are the active parts of apps. Technically, they aren't a part of the apps per se, but anyways you can read the documentation on the Android Developers site if you really want to know about them. They can drain the battery, so be on the lookout for apps that have services running all the time. If you start having battery troubles, look at those apps first to see if they are a problem. That being said, most services do very little in the background and aren't a problem. Most will go away if you turn off auto update settings in apps or get rid of widgets or other persistent parts of apps. Long press on the homescreen, hit shortcuts>settings>running services to get an easy way to view and manage running services. You can stop some of them there, but again, don't do it unless you have to. Its better to uninstall the app if you think its using too much power/resources. Also, you should get the Manage Applications shortcut too. Its in the same location and is really handy for managing your apps.
I've noticed lately that K9 Email always seems to be running now and it never used too.
I have to manually stop it.

[Q] Safe to disable Google stock apps?

I don't use a lot of the apps that came preinstalled and am just curious of disabling them will "break" anything or have a negative impact on performance or battery for any reason. These are the apps I don't use/would like to disable:
Books
Email
Google+
Latitude
Messenger
Places
Videos
Talk
Just don't need em. All Verizon apps were disabled with no problems.
Sent from my Galaxy Nexus
Why wouldn't it be? I keep Google Talk disabled because it was a huge source of battery drain for me in the past.
Just not sure about some of them like Google+, not sure how deep integration is. Also videos, not sure if that's tied to the market somehow
Sent from my Galaxy Nexus
I disabled messenger (not the Google+ thing, the built-in sms app) without any ill effects. I read on here somewhere that your gallery will FC if you disable Google+.
I don't just disable them, I use root explorer to delete them for good. Deleted Google+ with no ill effects, and a ton of other stuff I will never use.
Sent from my Galaxy Nexus using xda premium
You'll just have to test them one by one. From my experience, disabling google+ can cause the gallery to crash.
WalkingTaco said:
I don't use a lot of the apps that came preinstalled and am just curious of disabling them will "break" anything or have a negative impact on performance or battery for any reason. These are the apps I don't use/would like to disable:
Books
Email
Google+
Latitude
Messenger
Places
Videos
Talk
Click to expand...
Click to collapse
Books, Talk and Email are surely fine.
Latitude and Places may mess with Maps but they're probably fine.
Google+ (and therefore Messenger), along with Videos may mess with Gallery.
Just take a few hours and disable them 1 by 1 and see if anything happens.
I removed google+ with no adverse affects on the gallery.
Ended up just removing the whole lot. No problems thus far. Places is tied to maps though so unfortunately that will stay. Does anyone else's maps just start running randomly in your recent tasks. GPS and location are both disabled.
Sent from my Galaxy Nexus
I disabled many: clock, calculator, doc viewer, earth, news & weather, and voice dialer ... as I use alternative apps. Never tried disabling critical ones (e.g., G+). Every thing seems OK.
I faced a problem upon updating system from 4.0.1 to 4.0.2. BUT I'm not sure of the error in updating if it came from disabling stock apps or something else.
Sent from my Galaxy Nexus using Tapatalk
WalkingTaco said:
Does anyone else's maps just start running randomly in your recent tasks.
Click to expand...
Click to collapse
This, I've seen a few times.
WalkingTaco said:
Does anyone else's maps just start running randomly in your recent tasks. GPS and location are both disabled.
Click to expand...
Click to collapse
Yeah, I've stopped caring about it. I burn more battery trying to track it down then just letting it run (at that, I don't think its actually using any measurable amount of battery). Its obviously doing something worth-while if it keeps poppin up.
You guys mind if I use some of the info in this thread for the GN apk doc I started on?
Sent from my Galaxy Nexus using xda premium
Everything on the list minus places and latitude have been disabled for a couple days now with no issues whatsoever. Books enables itself with each reboot but I stopped caring and just left it up. Doesn't ever seem to run and I'm thinking it might be tied to the market in some weird way.
Sent from my Galaxy Nexus
Ves said:
You guys mind if I use some of the info in this thread for the GN apk doc I started on
Click to expand...
Click to collapse
Use away my friend
Sent from my Galaxy Nexus
G+ and Gallery sync photos so just check settings for that in accounts and in app.
Sent from my Galaxy Nexus

[Q] How can I limit Google Now's battery drain?

The threads I've found by searching are all telling me to just turn off Google Now or Location Services, but I still want access to the location based services - however, I think it's overkill for Google Now to be polling my location pretty much every freaking minute. Is there any way I can limit this to ever x amount of minutes instead, or is there a better way to limiting the wakelocks caused by the location services without completely disabling them?
thelakeshow said:
The threads I've found by searching are all telling me to just turn off Google Now or Location Services, but I still want access to the location based services - however, I think it's overkill for Google Now to be polling my location pretty much every freaking minute. Is there any way I can limit this to ever x amount of minutes instead, or is there a better way to limiting the wakelocks caused by the location services without completely disabling them?
Click to expand...
Click to collapse
Just turn off GPS is all I can think of really. Google doesn't have sync control on Now like they do with let;s say gmail. Something they should look into.
use autostarts to disable google now. It should still be usable when you specifically need it.
-J
thelakeshow said:
The threads I've found by searching are all telling me to just turn off Google Now or Location Services, but I still want access to the location based services - however, I think it's overkill for Google Now to be polling my location pretty much every freaking minute. Is there any way I can limit this to ever x amount of minutes instead, or is there a better way to limiting the wakelocks caused by the location services without completely disabling them?
Click to expand...
Click to collapse
hednik said:
Just turn off GPS is all I can think of really. Google doesn't have sync control on Now like they do with let;s say gmail. Something they should look into.
Click to expand...
Click to collapse
correct. i leave almost all 3rd party and native app features enabled. i simply have sync and gps unticked on my notification tray. i just rolled over the 24 hour mark on my battery. a simple swipe and press will have your gps on. google now is a great asset but it requires great resources. you have to determine how much you need what it offers and how much battery you're willing to live with. cheers
Greenify will "sleep" your apps until something requests to use them. It's all done in the background, so you won't even notice Google Now is being controlled by another app.
https://play.google.com/store/apps/...GwsMSwxLDMsImNvbS5vYXNpc2ZlbmcuZ3JlZW5pZnkiXQ..
Otherwise, I don't think I am seeing the problems you are.
I usually remove Google now and I get an extra 1-2hrs of battery.
Thanks for the replies, I'll try some of the stuff that's been posted
CZ Eddie said:
Greenify will "sleep" your apps until something requests to use them. It's all done in the background, so you won't even notice Google Now is being controlled by another app.
https://play.google.com/store/apps/...GwsMSwxLDMsImNvbS5vYXNpc2ZlbmcuZ3JlZW5pZnkiXQ..
Otherwise, I don't think I am seeing the problems you are.
Click to expand...
Click to collapse
man..greenify IS THE SH*T!

Clearing Google Services Framework data is never a good idea.

I've been sitting on this for a while but finally decided to speak up on it. I've been reading advice all over since the Froyo days that clearing Google Services Framework is a good idea to solve some play store and/or random app related problems. It is not a good idea to do this. Let me explain why:
Google Services Framework, among other things, contains device data for services like the awesome C2DM (Cloud to Device Messaging) service. What is this you ask? Well, in a nut shell, it is responsible for delivering messages from the cloud to your phone for a particular app without requiring that app to run and constantly maintain a data connection. This was introduced in Froyo (If I'm not mistaken) and helps conserve battery life. For example, Angry Birds Friends has C2DM because it will notify you of someone beating your score without the app running in the background. Angry Birds Friends does not use the on boot permission, so it needs not remain running eating up data just to receive notifications. Understand? A lot of apps are designed like this and it is a very good practice for developers who want to include notifications without needing their app to run in the background all of the time.
Clearing Google Services Framework will cause the C2DM service for every app that uses it to fail until that said app also has its data cleared and is launched and configured again (first time use). If you've ever wondered why your notifications for certain apps stop working, it was probably due to reading advice on clearing Google Services Framework to solve some other problem.
If you don't mind setting up all of your C2DM capable apps again, then go ahead and clear Google Services Framework data. However, if you have quite a few apps, like myself, then clearing it is a bad idea. I found this out a long time ago. There may also be other side effects associated with clearing Google Services Framework, but this is the one I've never seen mentioned before.
Enjoy!
Awesome info ... which leads to a dumb question:
I've never went in and cleared any framework, but I've lost notifications. I've removed and reinstalled apps, get notifications back, but then they stop again.
Is it safe to assume this is something that's been cooked into the ROM?
Live from the outer (S3) Galaxy, via TapaTalk ...
Hmgrepper said:
Awesome info ... which leads to a dumb question:
I've never went in and cleared any framework, but I've lost notifications. I've removed and reinstalled apps, get notifications back, but then they stop again.
Is it safe to assume this is something that's been cooked into the ROM?
Live from the outer (S3) Galaxy, via TapaTalk ...
Click to expand...
Click to collapse
I have had this problem with Facebook if I restore with titanium. I always have to do a clean install for it to notify me...
Sent from my SPH-L710 using xda app-developers app
To add on to this, here's what Google engineer Dan Morrill had to say about clearing the Google Services Framework data on Reddit: http://www.reddit.com/r/Android/com...ear_data_for_google_service_framework/cdiymrp
In short, as the OP had said, it's definitely not a good idea to clear the GSF data.
Good to know. Thanks for the informative post!
Sent from my SPH-L710 using Tapatalk
N00B_IN_N33D said:
To add on to this, here's what Google engineer Dan Morrill had to say about clearing the Google Services Framework data on Reddit: http://www.reddit.com/r/Android/com...ear_data_for_google_service_framework/cdiymrp
In short, as the OP had said, it's definitely not a good idea to clear the GSF data.
Click to expand...
Click to collapse
lol i have cleared the data
now pls help that how to return to og service framework
That checks. Doing this removed my device from the play store and I had to do a soft reset with the keypad
Sent from my SPH-L710 using Tapatalk
Hmmm, that's crazy
Sent from the infected viking
C2DM? It seems this is what was used before, but I think things have changed in Android ever since. I'm not an expert or anything, but recent apps are relying on GCM (Google Cloud Messaging) for notifications. The problem is that (to my understanding) GCM comes with Google Play Services and not Google Services Framework. To the point where not only Google Apps need Google Play Services, but other non-Google related apps require it for notifications (such as Facebook's Messenger). So maybe nowadays, clearing data on the Google Services Framework might not imply notification-related problems.
Aldo6 said:
C2DM? It seems this is what was used before, but I think things have changed in Android ever since. I'm not an expert or anything, but recent apps are relying on GCM (Google Cloud Messaging) for notifications. The problem is that (to my understanding) GCM comes with Google Play Services and not Google Services Framework. To the point where not only Google Apps need Google Play Services, but other non-Google related apps require it for notifications (such as Facebook's Messenger). So maybe nowadays, clearing data on the Google Services Framework might not imply notification-related problems.
Click to expand...
Click to collapse
+1
I cleaned the Google service frame work
What should I do know to not arise any effects
Any solution?

[Q] Google Services - Battery Hog

Has anyone else noticed the Google Services app being a huge battery hog? I read some other threads about it and tried disabling the "Access location", location reporting, and location history within the google settings. I also uninstalled google+, google play games, and hangouts but I am still seeing large battery usage. I also have Greenify installed which is amazing but I am hesitant to Greenify any of the Google Services packages.
Overall the battery life on my Note 3 is simply amazing but I can only imagine how much better it could be if Google Services didn't hog as much.
Does anyone know which of these services can be Greenifyed and how it will effect functionality?
Google Contacts Sync
Google Account Manager
Google Services Framework
Google Play Services
Network Location
Let me see if I understand this...
Your screen shot shows you have more than a day and 1/2 on the battery, still have almost 1/2 of the battery left and you are concerned about 25% Google services?
krelvinaz said:
Let me see if I understand this...
Your screen shot shows you have more than a day and 1/2 on the battery, still have almost 1/2 of the battery left and you are concerned about 25% Google services?
Click to expand...
Click to collapse
I switched to a second battery and it didn't reset my battery stats. Like I said, my battery life is great. But it could be better if the google services were reined in.
I too am having this issue. Only thing I know how to do to fix is disable wifi location service. But doing this then cripples google now, which I love. Anyone have a better fix? I have cleared cache and data and also in installed and reinstalled and still same issues.
Sent from my SM-N900T using Tapatalk
Nitin985 said:
I've just been on my cousins hd2 and I love the flip clock which actually flips I've done a Google search but can't find one that works with froyo I would love it so much
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Show screen time.
NOTE 3

Categories

Resources