[Q] Google Services causing weird battery drain - Galaxy S II Q&A, Help & Troubleshooting

After installing BetterBatteryStats, I've gotten a better look at the wakelock draining the battery. After gathering stats for 25-30 minutes, the following wakelock is the top user:
GTALK_ASYNC_CONN_com.google.android.gsf.gtalkservice.AndroidEndpoint (Google Services)
The drain remains at about 10% per 1 hours.
How can I solved it?
HELP ME! THANK you

jiezhang0518 said:
After installing BetterBatteryStats, I've gotten a better look at the wakelock draining the battery. After gathering stats for 25-30 minutes, the following wakelock is the top user:
GTALK_ASYNC_CONN_com.google.android.gsf.gtalkservice.AndroidEndpoint (Google Services)
The drain remains at about 10% per 1 hours.
How can I solved it?
HELP ME! THANK you
Click to expand...
Click to collapse
If you don't use talk/talkback, then you can disable them in system settings - apps or delete them from the system/app folder.
Verstuurd van mijn GT-I9100

jiezhang0518 said:
After installing BetterBatteryStats, I've gotten a better look at the wakelock draining the battery. After gathering stats for 25-30 minutes, the following wakelock is the top user:
GTALK_ASYNC_CONN_com.google.android.gsf.gtalkservice.AndroidEndpoint (Google Services)
The drain remains at about 10% per 1 hours.
How can I solved it?
HELP ME! THANK you
Click to expand...
Click to collapse
You are on stock rom right? Try to remove BetterBatteryStats and see battery. If it drain remove Gtalk app and reinstall from Google Play.

Related

[Q] Freeze Gtalk_async_conn

How do I completely freeze this service using T backup pro?
I freezed Gtalk 1.0.3 the app, but using Betterbatterystats reveal that gtalk_async_conn still resulting in partial wakelock timing
I have also noticed this.
Anyway we can stop it?
Still no solution? GTALK_ASYNC_CONN is my main Partial Wakelock in the Betterbatterystats (KH3 firmware) and heavy battery drainer with about 60 min of activity during 8 hours...
same problem with me...and no one on Google does not have a solution for this.
installed 'Better Battery Stats' to see what was keeping the phone up and it's "gtalk_async_conn". The thing is that I don't even use Google Talk. I tried to disable auto-login and freeze it with Titanium Backup without any luck. The only thing that worked was to disable 'Background data' but other apps like Market needs that option on.
Literally everyone appears to have this problem, i actually froze Talk in Titanium and have had no problems but is this Gtalk_async_conn related to this or what?
This problem persist more with google Maps 5.8, 5.9 version. I uninstalled the google maps and noticed that problem was solved, issue was not present anymore in wakelock of batterbatterystats. However it's not permanent solution.
same prob here. would be nice if s.o. has a solution
I also uninstalled Google Maps (rooted; used free edition of Titanium Backup) and it helped for a while -- got really minimal battery drain for several hours. But now the problem is back so I'm wondering if it might also be related to Market or Gmail.
I would say this is the answer.
ANSWER
And it would explain why everyone has it.
That post might explain what it is, but it's not very helpful at solving the issue.
I turned off notifications in Market (some versions don't have this setting; try Market 3.1.3). If it still doesn't help then I am going to try turning off Gmail sync.
Turn off all syncing (gmail, calander, etc), turn off background data and you may have it disappear, also don't use anything that uses google c2d push notifications.
Sent from my GT-I9100 using xda premium
I did the following:
- Uninstalled Google Maps (rooted; used free edition of Titanium Backup)
- Turned off notifications in Market (using Market 3.1.3)
- Turned off Google accounting syncing for everything except Gmail (background data / auto-sync still enabled)
Partial wakelocks for GTALK_ASYNC_CONN are now very low. Just a couple of seconds over 15+ hours of low use.
However I think I still have some battery drain (based on Battery Monitor Widget) so I am looking at other possibilities.
claimui said:
I did the following:
- Uninstalled Google Maps (rooted; used free edition of Titanium Backup)
- Turned off notifications in Market (using Market 3.1.3)
- Turned off Google accounting syncing for everything except Gmail (background data / auto-sync still enabled)
Partial wakelocks for GTALK_ASYNC_CONN are now very low. Just a couple of seconds over 15+ hours of low use.
However I think I still have some battery drain (based on Battery Monitor Widget) so I am looking at other possibilities.
Click to expand...
Click to collapse
I am not trying to be a smartass but doesn't your battery monitor widget cause some battery drain?
hondaguy said:
I am not trying to be a smartass but doesn't your battery monitor widget cause some battery drain?
Click to expand...
Click to collapse
Totally valid point. But I have also tried running it with Battery Monitor Widget turned off and I still see the same drain (by looking at the battery history graph).
Also while experimenting, I had a couple of hours where Battery Monitor Widget continuously reported -1mA battery discharge (while Battery Monitor Widget was running of course). The battery history graph was basically flat. So that tells me that I can still run Battery Monitor Widget and get minimal battery usage -- if everything else is working right.
In the Better Battery Stats thread, the developer says his target battery discharge is -2mA to -10mA (measured by Battery Monitor Widget). I know it's possible because I've gotten it before, but lately I'm somewhere around -70mA so that's what I've been working on.
Getting great battery life now with the Gtalk_async_conn issue seemingly gone. I still have Maps removed -- luckily I do not need it much these days. I also notice that Market likes to stay running in the background, where it uses some CPU time even with notifications disabled. Also, turning on Google Calendar auto-sync caused significant battery drain.
Quick summary:
- Uninstall/freeze Maps
- Kill Market if it's running in the background
- Turn off Google account syncing for everything except Gmail
- Turn off "Back up my data" under Privacy settings
I was at about 50% battery after 20 hours. I am running Cognition 1.5.1 with SpeedMod kernel.
claimui said:
Getting great battery life now with the Gtalk_async_conn issue seemingly gone. I still have Maps removed -- luckily I do not need it much these days. I also notice that Market likes to stay running in the background, where it uses some CPU time even with notifications disabled. Also, turning on Google Calendar auto-sync caused significant battery drain.
Quick summary:
- Uninstall/freeze Maps
- Kill Market if it's running in the background
- Turn off Google account syncing for everything except Gmail
I was at about 50% battery after 20 hours. I am running Cognition 1.5.1 with SpeedMod kernel.
Click to expand...
Click to collapse
It's good to know that these mods work, but they are pretty extreme for me, and I would assume many others. I actively use the functionality of Maps and other Google account syncing. I hope that someone can work out a way to minimize the usage without cutting off the functionality completely.
For what it's worth, I see a dramatically higher usage of the GTALK process when I am at work where some of the syncs are blocked on the office wifi. Out of the office on 3G or at home, the amount of time GTALK is active is significantly reduced.
Atrix here but same issue. I agree if turning off syncs is the way to go, I might as well buy a dumbphone
I agree it's annoying. But the battery life improvement is dramatic, even more so than I mentioned in my earlier post. I used to get <20 hours per charge. Now I get about 3 days. Hopefully these are just bugs in the apps that Google will fix in future versions.
Not sure what is causing it. I have turned off auto-sync, logged out of gtalk, and even turned off "Back up my data" and "Automatic restore" from Settings>Privacy.
I still notice 1-2 minutes of partial wakelocks.
Try killing Market if it is running.

[Q] Mediascannerservice keep phone awake

hi
i can see in betterbatterystats under partical wakelocks, that Mediascannerservice are keeping my phone awake. What is causing this, and what is mediascannerservice.
[/ATTACH]
fischerben said:
hi
i can see in betterbatterystats under partical wakelocks, that Mediascannerservice are keeping my phone awake. What is causing this, and what is mediascannerservice.
[/ATTACH]
Click to expand...
Click to collapse
Your device is constantly scanning for new media. I'm dealing with the same thing right now. Trying deleting cache and data from Media and Gallery apps.

[Q] Application which forces all processes to 0% cpu usage when idle?

My idle cpu usage seems a little high and sporadic and I'd like to force them all to 0% when idle but still be able to receive background data like for instance my play store seems to use a continuous idle usage and a few others. I can freeze them with the System Tuner but I'd prefer to Globally force all apps to 0% usage so I'm getting say 1% usage at idle on occasion every hour or few hours? When I use System Monitor, I see my cpu usage kind of jumping from 0 to up to 35-40% while idling and I don't want these apps using any resources at idle. I'm trying to extend battery life a lot more.
My battery life is really good already since I have a 3600mah battery but I could get even better if I can dial in the usage at idle.
Is there application that can do that?
On another note, I can't seem to figure out why my Google Calendar won't open a "New Event" it just sits on the Loading... Screen
Thanks
Greenify! It's in the play store for free
Me Gusta!
Greenify is best for hibernate user apps you can also prevent system apps with Rom Toolbox>app manager>select app>advance freeze>disable useless services
Use Ds battery saver pro for better deep sleep
If your android version is 4+ go to settings>developer options>choose background processes atmost 2
Sent from my LG-P880 using xda premium
I wish the Developer options for the the services would stick after reboot since it always reverts...
1chris89 said:
I wish the Developer options for the the services would stick after reboot since it always reverts...
Click to expand...
Click to collapse
Yes it's reverts in every reboot
Sent from my LG-P880 using xda premium
None of those things changed it, still getting a minimum of 15% usage at complete idle with 0 processes allowed and close every app after use.
Not sure what do here... Battery life while in use is poor just because of those background load.
1chris89 said:
None of those things changed it, still getting a minimum of 15% usage at complete idle with 0 processes allowed and close every app after use.
Not sure what do here... Battery life while in use is poor just because of those background load.
Click to expand...
Click to collapse
Buy betterbatterystats and check wich app or wakelocks are draining your battery,if you find nothing then throw the battery in dustbin.
Sent from my LG-P880 using xda premium

[Q] Google Services drain?

Can anyone tell me why google services keeps my device from sleeping and drains the battery? I've already greenified/froze some apps that I don't use. I even have location reporting off. Here are some screenshots https://www.dropbox.com/sc/51up5tklj1ot98d/XLCmSPhY09
I recall seeing the Google Services running, but it wasn't a major issue. Have you noticed serious drain, or are you just checking stats?
jfu said:
Can anyone tell me why google services keeps my device from sleeping and drains the battery? I've already greenified/froze some apps that I don't use. I even have location reporting off. Here are some screenshots https://www.dropbox.com/sc/51up5tklj1ot98d/XLCmSPhY09
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2366715
Sent from my SAMSUNG-SGH-I337

Battery drain driving me crazy

I've had the phone since the beginning of December. Right since then, I have had battery drain no matter what. In the first days I experienced it even overnight, I am pretty sure with airplane mode activated....
Later on, I wiped the cache from the recovery mode, didn't fix it. I used that 'GService fix' kind of magical app that everybody said it fixed their problems...it didn't fix mine. I performed a hard reset and I did not restore the google account apps, instead I manually downloaded only the apps that I really needed.
There is no apparent pattern on when the battery drain starts: I would find my phone hot and very rapidly discharging (if not already discharged), battery temp hot and cpu temp hot. I disabled all google now functions, I disabled GPS, at first I disabled only some google functions (kept only google keep, calendar and contacts on automatic sync)....but then a couple days ago I disabled the whole automatic sync. Battery still drained without using the phone.
I had read that one reason why google service would take so much battery would be having multiple accounts, or having some problems related with google play games and its sync. I do have games installed on my phone, and they require google play games to work, so that one is installed on the device but I also read that 'people details' under google account settings is relevant to the google play games sync. And in any case as I already said, the whole automatic sync has been disabled in the past 2 days, yet today the phone drained the battery while in my pocket.
I cannot understand what is going on. I am using GSAM to try to monitor things, but till now I have only been able to understand when was the battery drain starting and when was it stopping. I never found the reason. If I choose 'since screen off' on GSAM, I can see that it is again google play services taking most of the battery.
I can see with those softwares (3c toolbox, GSAM) some things, many of them I don't understand and some of them I don't even know how to set. It's pretty useless to know that suddenly my cpu goes high in clock and keeps 90/100% load if I don't know why. There is no rogue app, otherwise it would show on top, right? I can provide these two screenshots:
http://i.imgur.com/wPgGlu7.jpg
http://i.imgur.com/9hbVG0I.jpg
First screenshot: I had the phone on my desk since 2 days or so. Wifi on, no gps, no sync. I went out around 12:00 and that seems to be exactly the time when the battery drain started. If I choose in GSAM 'since screen off', google services is on top of the list. Unfortunately this cannot be very much relate with mobile data or so, because I have experienced battery drain even with airplane mode or at home with wifi enabled. Second screenshot: I don't know what to make of those packages......
I know that other people with the Axon 7 had the same problem, I googled a lot, didn't solve anything.....and I also know that anyway on any phone this can happen. I had very randomly the same problem on the Nexus 5 but never gave it too much attention because it wasn't too bothering, it was happening every once in a while, but with this Axon 7 I am touching it every 10 minutes to see if it's burning hot or not, constantly afraid to take it out of the pocket and find it with 10% left of battery.....
Had battery drain issues and exchanged my phone under warranty. Now all is good.
huntnyc said:
Had battery drain issues and exchanged my phone under warranty. Now all is good.
Click to expand...
Click to collapse
Assuming you're rooted, install betterybatterystats (search for it on xda). Use the phone as you normally would. After 6-12 hours, look at the results. It should give you an idea of what's keeping the phone awake.
Here the same problem. Irregular at intervals of 1-2 days. New installation of Google Play services no change. Restart helps only a short time.
The problem:
Cpu %
34 com.google.android.gms.persistent
04 com.google.android.gms
01 com.google.android.gapps
A2017G Build B09
Sorry, Google translation
Fisher17 said:
Here the same problem. Irregular at intervals of 1-2 days. New installation of Google Play services no change. Restart helps only a short time.
The problem:
Cpu %
34 com.google.android.gms.persistent
04 com.google.android.gms
01 com.google.android.gapps
A2017G Build B09
Sorry, Google translation
Click to expand...
Click to collapse
yes! same thing with me. Google Backup Transport process fires up and eats battery for no reason. Doesn't matter if backup is enabled or disabled, I also disabled appdata sync. I posted two or 3 times in this community group as well:
https://www.facebook.com/groups/1421198214846418/permalink/1431610953805144/
What rom are you using?
stock, didn't change anything and to be honest should not need to (and not even want to).
My plan: try to find a solution. Good that at least I nailed it to the process (google backup transport - gms.persistent etc etc) and can research from there. I already found tons of people who had the same problems with tons of different devices and even android version (just google com.google.android.gms.persistent battery drain and you'll find the forums full of threads....of course everybody fixed it in the most different ways, none of which worked for me till now).
2nd plan: wait for the nougat update at the end of the month and see what happens
3rd plan: change device (warranty).
I am aware it is not a hardware problem, it must be some loop in the sync (but it happens even with sync off) or a bug in google services.
Hmmm, could you say you "just can't sleep" over it?
Sorry folks, friday post
Batter Battery Stats is usually a very good way to check for rogue apps, tho.
Battery drain commes with B09! B08 i had no drain at all with B09 i have a ugly battery drain.
C.H.T.J. said:
Battery drain commes with B09! B08 i had no drain at all with B09 i have a ugly battery drain.
Click to expand...
Click to collapse
caused by what? By the way This is my update screen, why is it showing B04 and still saying that it is up to date? I have auto updates and I also checked manually but it says it is up to date.
Fisher17 said:
Here the same problem. Irregular at intervals of 1-2 days. New installation of Google Play services no change. Restart helps only a short time.
A2017G Build B09
Sorry, Google translation
Click to expand...
Click to collapse
Fixed issue with Google Play Service 10.2.91 (440-144333517). Axon 7 runtime 5 days without battery drain. :good:
Fisher17 said:
Fixed issue with Google Play Service 10.2.91 (440-144333517). Axon 7 runtime 5 days without battery drain. :good:
Click to expand...
Click to collapse
5 days?? How much do you actually use the phone??
I don't know what was the cause. It was either a loop fail backup of google photos, or the update from B04 to B08 fixed it. No more drain, battery easily lasts 2 days without heavy use of the phone.
nuserame said:
5 days?? How much do you actually use the phone??
Click to expand...
Click to collapse
:laugh: 5 days without reboot. 2 days with one load. 8 hours display time at 24 usage.
All the US stock firmwares have the battery drain. It's usually google backup transport or google persistent gms. A reboot will fix it usually, but it will occur again later... Battery life is fine other than those 2. Let's hope lineage will be ok.

Categories

Resources