[Q]Battery Drain - GTALK - Xperia Arc Q&A, Help & Troubleshooting

Hi there
I get a lot of wake-up call from GTALK (my phone does not always stay in deep sleep when it should).
When I analyze it with BetterBatteryStats I see there are a lot of wake-up alarms from following stuff:
com.google.android.gsf
com.google.android.Intent.action.GTALK_RECONNECT
com.google.android.Intent.action.GTALK_HEARTBEAT
I'm not using GTALK at all and I'm not signed into the service either... really strange... can someone explain how I can disable this or remove if from my system?
Im running stock-kernel with acronioum 5.0
Greez
NeoCream

go to Gtalk setting and disable autostart/ auto sign in. it will help
Best,
---------- Post added at 09:53 AM ---------- Previous post was at 09:40 AM ----------
some gtalk service is for Market, so be careful if you try disable some of them, market will not work.

NeoCream said:
Hi there
I get a lot of wake-up call from GTALK (my phone does not always stay in deep sleep when it should).
When I analyze it with BetterBatteryStats I see there are a lot of wake-up alarms from following stuff:
com.google.android.gsf
com.google.android.Intent.action.GTALK_RECONNECT
com.google.android.Intent.action.GTALK_HEARTBEAT
I'm not using GTALK at all and I'm not signed into the service either... really strange... can someone explain how I can disable this or remove if from my system?
Im running stock-kernel with acronioum 5.0
Greez
NeoCream
Click to expand...
Click to collapse
Today I found those alarms with betterbatterystats, so I went to Autorun Manager and under Google Services Framework (com.google.android.gsf) disabled a couple of entries that mentioned the gtalk service, hopefully that will decrease the wakeups (Market still works ), I'll keep you informed

First of all, let me make clear that "wakeups" do not necessarily mean battery drain.
My battery lasts for over a day with heavy usage and Google Framework wakes up my phone 300+ times. "Wakeups" simply mean how many times the intent got the phone out of Deep Sleep. Battery drain depends on how long did it kept it awake and how heavy to the processor the task performed was.
Freezing/killing/etc any parts of GSF is not the smartest thing to do.
You can log out from Gtalk after you have diselected "Auto Login" from the app Settings.
Gtalk will still have some activity as it is tied to the Google Apps bundle of joy (that's why the OP sees those odd wakeups even though he is not using it)
however, you should not face any significant drain.
I have connected 100 MSN contacts and more than 300 Facebook contacts to my Gmail account via Jabber, so more or less Gtalk is always on and it manages messages from a 500+ contact database. It's been like that since my first Android phone (legendary HTC Tattoo), then on my X10 and now on my Arc S and I have never faced battery drain. Heck, even I doubted it for a moment and disabled Auto Login, and there was no difference in battery at all.
Just my 2 cents.

I have same problem.In better battery stats see that G_TALK, many times wake my phone, but I dont have application G+.How then this drain my battery.What I do, that I solve this problem. Always wake lock- g_talk.

NeoCream said:
Im running stock-kernel with acronioum 5.0
Greez
NeoCream
Click to expand...
Click to collapse
disable service

lsv-1 said:
Today I found those alarms with betterbatterystats, so I went to Autorun Manager and under Google Services Framework (com.google.android.gsf) disabled a couple of entries that mentioned the gtalk service, hopefully that will decrease the wakeups (Market still works ), I'll keep you informed
Click to expand...
Click to collapse
so, did it work? any problems or positive effects?

Related

Mail service (exchange) draining battery?

guys, I've recently noticed that mail_service (from exchange)wakelock drains my battery pretty badly, I've reset the account a few days back and enjoyed quite a bit of good battery life (like 1-2 hrs for 1%, with 3G/data on and auto sync off) for two days,but today the bug came back. I wonder any of you experience this?
There has been reports of battery drain and the Android OS not going to deep sleep properly. However, there's to many factors to take into account.
Some claim that opening and closing the camera app has something to do with it. (CMOS sensor is kept open and active)
fregor said:
There has been reports of battery drain and the Android OS not going to deep sleep properly. However, there's to many factors to take into account.
Some claim that opening and closing the camera app has something to do with it. (CMOS sensor is kept open and active)
Click to expand...
Click to collapse
my Android OS was at 30some%, the betterbatterystats showed mail_service contributed to over 50mins wakelocks while I set manual sync. I am afraid it's another bug that android has.
exchange sucks when it comes to battery life, but I think it's more a protocol thing than an app thing. I did battery tests ages ago on my nexus one, and found exchange sucked up more battery/h than gmail/gtalk/facebook/+++ (basically everything else + phone idle) did combined.
Note that if you dont have exchange on push sync some exchange servers will require a full refresh when you connect. So it'll suck up more battery to sync every hour than having push notifications on. (Although exchange push requires a continously connected encrypted session... which isn't great for battery life either).
nurre said:
exchange sucks when it comes to battery life, but I think it's more a protocol thing than an app thing. I did battery tests ages ago on my nexus one, and found exchange sucked up more battery/h than gmail/gtalk/facebook/+++ (basically everything else + phone idle) did combined.
Note that if you dont have exchange on push sync some exchange servers will require a full refresh when you connect. So it'll suck up more battery to sync every hour than having push notifications on. (Although exchange push requires a continously connected encrypted session... which isn't great for battery life either).
Click to expand...
Click to collapse
I've been using exchange since I got my Desire and GS2, but neither one had problem with exchange draining battery (which I didn't find it from betterbatterystats), and even for Galaxy Nexus, this bug is on and off, I hope there's a solution for that
hongkongtom said:
I've been using exchange since I got my Desire and GS2, but neither one had problem with exchange draining battery (which I didn't find it from betterbatterystats), and even for Galaxy Nexus, this bug is on and off, I hope there's a solution for that
Click to expand...
Click to collapse
It never showed up in the battery stats for anything. But if I disabled exchange and left it overnight I'd have WAY better battery/h than I did if I left it on.
nurre said:
It never showed up in the battery stats for anything. But if I disabled exchange and left it overnight I'd have WAY better battery/h than I did if I left it on.
Click to expand...
Click to collapse
For disable do u mean freeze/ remove account/ stop auto sync?
Sent from my Galaxy Nexus
ICL53F
4.0.2
Rooted
Stock rom & Recovery
hongkongtom said:
For disable do u mean freeze/ remove account/ stop auto sync?
Sent from my Galaxy Nexus
ICL53F
4.0.2
Rooted
Stock rom & Recovery
Click to expand...
Click to collapse
I removed the account, just to be certain it wasn't doing anything. When I added the exchange account I noticed a quite bad drop in battery time, even though it never showed anywhere. So I tested it overnight tons of times with different settings. And the thing that helped me improve my battery time more than anything else was removing exchange.
nurre said:
I removed the account, just to be certain it wasn't doing anything. When I added the exchange account I noticed a quite bad drop in battery time, even though it never showed anywhere. So I tested it overnight tons of times with different settings. And the thing that helped me improve my battery time more than anything else was removing exchange.
Click to expand...
Click to collapse
well, that sucks, i need my exchange to get through my job, when exchange is behaving well, i got quite good battery life with 1% drop with 1-2hrs with no tweak (stock 4.0.2), now when exchange bug kicks in 1% would drop in around 15min. i can believe Google can still let it happen when we are already in its 4.0
I had this problem using Enhanced Email, and was able to resolve it by disabling calendar sync for the exchange account. As I understand Enhanced Email to be pretty similar to the stock email application, perhaps you might give that a try and see if it improves the situation.
I suspect the battery usage and best settings depend heavily on exchange server types as well. So do your own testing on this
TheJ0hnman said:
I had this problem using Enhanced Email, and was able to resolve it by disabling calendar sync for the exchange account. As I understand Enhanced Email to be pretty similar to the stock email application, perhaps you might give that a try and see if it improves the situation.
Click to expand...
Click to collapse
I've tried Enhanced Email and seems it doesn't support calendar sync fot 4.0 just yet. and i really do need calendar sync for my job.
actually, i also bought Touchdown, but too bad that it can't be integrated into phone's calendar, and the calendar viewing is suck for TD. (i really got spoiled by Calendar Pad / Jorte which can display individual events under month view.)
nurre said:
I suspect the battery usage and best settings depend heavily on exchange server types as well. So do your own testing on this
Click to expand...
Click to collapse
i think so too, but i think if i set manual sync the app shouldn't have that much of wake locks which keep my phone awake which drains battery.
I had my exchange account set to only sync email. I also set the check frequency to manual... the exchange service would still suck up a ton of battery. Every few hours I would receive a notification of new email for my exchange account. WTF? Why was it syncing in the background when I had sync set to manual..?
Sent from my Galaxy Nexus using Tapatalk
NPuter said:
I had my exchange account set to only sync email. I also set the check frequency to manual... the exchange service would still suck up a ton of battery. Every few hours I would receive a notification of new email for my exchange account. WTF? Why was it syncing in the background when I had sync set to manual..?
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Are u using the stock app? I never have this problem you mentioned at the second part.
Sent from my Galaxy Nexus
ICL53F
4.0.2
Rooted & CWM
Stock rom
I had that bug so I removed and re-added my work exchange account and the CPU usage went away after a couple hours of syncing.
Then I downloaded touchdown and haven't gone back to the stock android email client.
Erukian said:
I had that bug so I removed and re-added my work exchange account and the CPU usage went away after a couple hours of syncing.
Then I downloaded touchdown and haven't gone back to the stock android email client.
Click to expand...
Click to collapse
Sorry I don't understand ur first part? So it had gone to normal after a few hours of syncing you mean?
Done more testing yesterday, after a 12hr working day (no emailing on phone but few calendars added/editted,all time 3G & data on ) , the exchange caused around 500 partial wakelocks (spent around 10min in total) reported by betterbatterystats, causing my phone to drop 1% in around 30min which I've undervolted using JameBond 1.2-307.
Yet, when I got home, I switched to my home Wi-Fi and found that the wakelocks were much less and my battery dropped 1% in around 1.5 to 2hr.
Don't know if the network status from 3G triggered the exchange to drain power from wakelocking.
Sent from my Galaxy Nexus
ICL53F (JameBond 1.2/307)
4.0.2
Rooted & CWM
Stock rom
hongkongtom said:
Sorry I don't understand ur first part? So it had gone to normal after a few hours of syncing you mean?
Done more testing yesterday, after a 12hr working day (no emailing on phone but few calendars added/editted,all time 3G & data on ) , the exchange caused around 500 partial wakelocks (spent around 10min in total) reported by betterbatterystats, causing my phone to drop 1% in around 30min which I've undervolted using JameBond 1.2-307.
Yet, when I got home, I switched to my home Wi-Fi and found that the wakelocks were much less and my battery dropped 1% in around 1.5 to 2hr.
Don't know if the network status from 3G triggered the exchange to drain power from wakelocking.
Sent from my Galaxy Nexus
ICL53F (JameBond 1.2/307)
4.0.2
Rooted & CWM
Stock rom
Click to expand...
Click to collapse
If your undervolted then your battery readout is incorrect anyway. Your battery meter isn't displaying actual battery capacity, it's estimating it based on a scale of power consumption @ X mhz of processor speed within an actual timeframe.
When you undervolt, there's no reference point. Your battery display is somewhat useless. It's why often times the last 10% @ idle seems to last forever.
I have high battery usage from Exchange. It's been a concern of mine for some time. Glad to see others noticing the same thing.
Sent from my Galaxy Nexus using Tapatalk
I am connected to two different Exchange accounts, one 2007 server and one 2010 server. Both set to automatic push. Battery life has been excellent with this phone and getting better. Yesterday, with several phone calls, emails, etc. I clocked in at 1 day 7 hours before I hit the 14% warning threshold.

Facebook contact sync, battery hog?

Hello everyone
I thought i should share what i just discovered. I disabled the syncing of facebook contacts, and my battery usage seems to have dropped significantly.
I have deactivated the autosync and notifications in the facebook app ages ago. The only change now was that in "Accounts and sync".
The first ~8h of my battery history is during the night (see attached screenshots)
Probably because Facebook sync doesn't work with ICS. I would be asking to snyc and continually failing.
I would recommend using this app: https://play.google.com/store/apps/...axsync&feature=nav_result#?t=W251bGwsMSwyLDNd
It also syncs at a much higher resolution.
Just from that picture, it looks like your phone was holding wakelocks like crazy until you made your change. Was that the only change you made? Do you have better batter stats installed?
I'm on AOKP b31 with facebook sync enabled and I definitely don't see that kind of behavior. As of right now my facebook sync has held a wakelock for 70 seconds for the past 12 hours (push notifications working via the blackberry trick, notification updates set to never). Are you on a different ROM that might have a different method of enabling fb contact sync? I know AOKP's trick was turned down by a number of other devs but I forget what the exact reason was, might have been that it opens a potential security hole.
RTContent said:
I would recommend using this app: https://play.google.com/store/apps/...axsync&feature=nav_result#?t=W251bGwsMSwyLDNd
It also syncs at a much higher resolution.
Click to expand...
Click to collapse
I always +1 Haxsync, its a great app! However, afaik it does not sync contact phone numbers, only contact pictures.
WiredPirate said:
I always +1 Haxsync, its a great app! However, afaik it does not sync contact phone numbers, only contact pictures.
Click to expand...
Click to collapse
haxsync syncs my phone numbers ...
you shouldn't use contacts sync that have been hacked into roms because it makes your contacts unsecured that's why google and other roms like CM9 and Buggless Beast won't implement this feature ... fb needs to update its apis to allow secure native contact syncing
blowtorch said:
haxsync syncs my phone numbers ...
you shouldn't use contacts sync that have been hacked into roms because it makes your contacts unsecured that's why google and other roms like CM9 and Buggless Beast won't implement this feature ... fb needs to update its apis to allow secure native contact syncing
Click to expand...
Click to collapse
So haxsync will add the phone # of your FB friends that you don't have on your phone?
For me it just syncs the profile pic and their latest status. It doesn't seem to pull any more data like their phone numbers that they posted on their profile.
Haxsync doesn't sync fb phone numbers for me either. I remember reading somewhere that phone numbers weren't available to any 3rd party apps via facebook. .... and I just removed my facebook sync account and all the numbers I only had via facebook disappeared with it.
I use both haxsync and facebook contact sync because some of my friends have 3rd party app access turned off in their facebook settings, which blocks haxsync from syncing their picture. Can't blame 'em, but it's annoying that the official fb app works this way and the only reason haxsync(which does just about everything better) can't is because it's 3rd party.
that looks like
1) you seem to be losing signal very often (red parts in the signal graph) so apparently you are affected by the signal bug in 4.0.4 and that potentially affects battery life
2) all signal is lost from a certain point midway through (as if airplane mode was enabled) so the battery use went down
so, facebook sync is probably unrelated to what you're seeing
spamlucal said:
that looks like
1) you seem to be losing signal very often (red parts in the signal graph) so apparently you are affected by the signal bug in 4.0.4 and that potentially affects battery life
2) all signal is lost from a certain point midway through (as if airplane mode was enabled) so the battery use went down
so, facebook sync is probably unrelated to what you're seeing
Click to expand...
Click to collapse
Hah, funny what things get your attention and which things slip by. I can't believe I looked at that picture and didn't process that aspect of it.
spamlucal said:
that looks like
1) you seem to be losing signal very often (red parts in the signal graph) so apparently you are affected by the signal bug in 4.0.4 and that potentially affects battery life
2) all signal is lost from a certain point midway through (as if airplane mode was enabled) so the battery use went down
so, facebook sync is probably unrelated to what you're seeing
Click to expand...
Click to collapse
Yes, i thought it looked strange in the graph, but i had no problems using 3g, sending/receiving sms or calls during the whole day. I figured the graph just messed up or something.
The extremely frequent wakelocks are probably the reason to why i have to recharge my phone every 24-36h, but i thought it was the notorious bad battery of the galaxy nexus.
I've bought better battery stats now following JoeSyr's advice, hopefully i'll get to the bottom of what is causing my frequent wakelocks.
2 min later:
Seems like its RILJ who is responsible for the wakelocks, 6861 in 13h.. A new rom, radio and kernel might be in order

[Q] Exchange services - 2341 wakelocks in 3.5 hours

Pic from GSam Batter Monitor attached, I have corporate email through MobileIron and sometimes Exchange Services takes a ton of battery, (right now it takes 11% of battery and is the 2nd highest after Screen).
So I see 2341 wakelocks and 767 times waking the device in just 3.5 hours.
How can I try to fix this? Our IT dept is clueless.
Sync schedule is set to 'Never' so that it's supposed to only update when I open the email app.
mgs333 said:
Pic from GSam Batter Monitor attached, I have corporate email through MobileIron and sometimes Exchange Services takes a ton of battery, (right now it takes 11% of battery and is the 2nd highest after Screen).
So I see 2341 wakelocks and 767 times waking the device in just 3.5 hours.
How can I try to fix this? Our IT dept is clueless.
Click to expand...
Click to collapse
Is it a push type?
-----------
iphones are the creation of people with nowhere left to turn
sent from stock jelly bean on toroplus
edited the OP before I saw your reply, it's currently set to 'never'.
I found this thread where Google seems to be aware this is an issue and says it'll be fixed in the next release of JB (see comment 16), unknown ETA.
http://code.google.com/p/android/issues/detail?id=34726

Battery Question, any help?

Ok Stock Rooted JB..
Phone has been unplugged for 1 hour 54 mins and down to 94%, one 3 min phone call and a few text messages.....
I have better battery stats running and nothign really seems out of the ordinary to me at least???
only thing I see is android wakeups is 456???
The apps I have running right now or one thes runs currently running
Bettery battery stats
Heytel
Light manage
Android Weather
factor mode
settings
Com.samsung.inputEV..
syncMLSvc
com.sec.sprextenson
MapServiceSamsung
Goole Services
Media
Exchange Services
MAPS
S Suggest
Email
Com.sec.phone
Smart Device Manager
S voice
Voicemail
simple alarm Clock
Gingerbread Keyboard...
Any ideas????
Thanks
bpdfs said:
Ok Stock Rooted JB..
Phone has been unplugged for 1 hour 54 mins and down to 94%, one 3 min phone call and a few text messages.....
I have better battery stats running and nothign really seems out of the ordinary to me at least???
only thing I see is android wakeups is 456???
The apps I have running right now or one thes runs currently running
Bettery battery stats
Heytel
Light manage
Android Weather
factor mode
settings
Com.samsung.inputEV..
syncMLSvc
com.sec.sprextenson
MapServiceSamsung
Goole Services
Media
Exchange Services
MAPS
S Suggest
Email
Com.sec.phone
Smart Device Manager
S voice
Voicemail
simple alarm Clock
Gingerbread Keyboard...
Any ideas????
Thanks
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2007997
Go here, Read the post. (I'm to lazy to type it out again) lol
milky1112 said:
http://forum.xda-developers.com/showthread.php?t=2007997
Go here, Read the post. (I'm to lazy to type it out again) lol
Click to expand...
Click to collapse
guess i should have clarified, I read that and did all that.. Still same outcome though..
I was more curious if anything i have in the list of running apps is bad?
Also how do you limit the backround processes???????
bpdfs said:
guess i should have clarified, I read that and did all that.. Still same outcome though..
I was more curious if anything i have in the list of running apps is bad?
Also how do you limit the backround processes???????
Click to expand...
Click to collapse
Developer Options, Should be toward bottom. Exchange services i usually turn off.. (Disable) I'll edit with others in a few moments. I would go through and see what else you can disable that's running in the background.. Not sure what some of them are TBH. but that's the best way to troubleshoot what's causing the drain.
whats exchanges services for? should i disable through tit backup??
by limiting processesdoesnt that make things not work?????
bpdfs said:
whats exchanges services for? should i disable through tit backup??
by limiting processesdoesnt that make things not work?????
Click to expand...
Click to collapse
No. I havent hadany issues. Done it on both my phones. I disable alot of stuff i dont use. Talk, live wallpapers things like that.
Sent from my SPH-D710 using Tapatalk 2

com.android.contacts using a lot of battery

Hey All,
I had installed CM13 nightly on LG G3(D855 international version) along with Nebula kernel 12.5. And currently I am having hard time to understand why contacts is using a lot of battery. I charged the battery to 100% and left it untouched for 7 hours and continuing with my daily use(whatsapp email browser and phone calls thats all, I am not a social media fan so no facebook twitter or instagram etc., I understand if you dont call my g3 a smartphone). I will post the BetterBatteryStats output log when battery is completely drained.
Also, when I enter settings-> Google I have a blank page. There is nothing shown under Settings-> Google. So, it is not possible to disable contact sync for now.
Furthermore, when I click Settings->Accounts->Google->Contact to sync contacts I see an error that says contact sync is having problems... But when I click again this error is gone until next restart.
It is really annoying to have this kind of battery drain. Also I have Amplify, Betterbatterystats, Powernap, Greenify, AppOpsExposed and Xposed installed.
Please let me know if you have any solution recommendation, I will be glad to give out many thanks to who supports.
takobaba said:
Hey All,
I had installed CM13 nightly on LG G3(D855 international version) along with Nebula kernel 12.5. And currently I am having hard time to understand why contacts is using a lot of battery. I charged the battery to 100% and left it untouched for 7 hours and continuing with my daily use(whatsapp email browser and phone calls thats all, I am not a social media fan so no facebook twitter or instagram etc., I understand if you dont call my g3 a smartphone). I will post the BetterBatteryStats output log when battery is completely drained.
Also, when I enter settings-> Google I have a blank page. There is nothing shown under Settings-> Google. So, it is not possible to disable contact sync for now.
Furthermore, when I click Settings->Accounts->Google->Contact to sync contacts I see an error that says contact sync is having problems... But when I click again this error is gone until next restart.
It is really annoying to have this kind of battery drain. Also I have Amplify, Betterbatterystats, Powernap, Greenify, AppOpsExposed and Xposed installed.
Please let me know if you have any solution recommendation, I will be glad to give out many thanks to who supports.
Click to expand...
Click to collapse
Which nightly? Not sure if this effects your G3, but there was an issue posted in g+ about a gapps & 3rd pary app issue... https://plus.google.com/+CyanogenMod/posts/U1truK1Jo6i
I was just going to suggest new gapps, but it may be a CM issue.

Categories

Resources