[Q] facebook keeps wakelock - Desire Q&A, Help & Troubleshooting

Hi. My girlfriend`s stock desire eats battery as hell from time to time. I managed to find the culprit- it`s facebook keeping wakelock. Do others experience this? BTW we are exiting facebok app not by pressing home button, but by pressing back. And this issue doesn`t happen always. How to prevent this? Maybe some autokiller may help? What do u guys think?
All facebook sync in settings is turned off

wierd i guess
how about in-app settings in facebook? try switching sync off there too

You said, this issue does not happen always. Can you reproduce this problem yourself? Do you do special things when this issue happens?
Sent from my HTC Desire using XDA App

dzumagos said:
wierd i guess
how about in-app settings in facebook? try switching sync off there too
Click to expand...
Click to collapse
It is turned off..
MatDrOiD said:
You said, this issue does not happen always. Can you reproduce this problem yourself? Do you do special things when this issue happens?
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
No special things when this issue occurs. I just launch facebook look at main feed list then hit back twice (first for go back to main screen with facebook icons and second to exit application).

Look up, which applications and/or services are running in background. Updated facebook on newest version?
Is wifi/3g always on? Wifi and mobile network are real battery killers.
Sent from my HTC Desire using XDA App

MatDrOiD said:
Look up, which applications and/or services are running in background. Updated facebook on newest version?
Is wifi/3g always on? Wifi and mobile network are real battery killers.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Its on mobile network. But *#*#4636#*#* -> battery history partial wakelock shows facebook active all the time. So i doubt it`s a network fault.

Kill facebook by yourself:
Menu>Settings>Applications>Manage Applications>choose facebook>press "force stop"
If problem not solved, see what happens when you uninstall facebook completely
Sent from my HTC Desire using XDA App

Related

What's this icon in the notification bar mean?

Hi All,
I don't know what does this icon mean (circled in red in the attachment).
It is not for background sync, since it is still there after I disable the sync.
Any suggestion?
Thanks a lot!
cail9970 said:
Hi All,
I don't know what does this icon mean (circled in red in the attachment).
It is not for background sync, since it is still there after I disable the sync.
Any suggestion?
Thanks a lot!
Click to expand...
Click to collapse
that's what comes up when email syncs for me
It means account data is syncing.
-------------
Sent from my HTC EVO 4G using Tapatalk Pro.
LOL, yeah. it's the sync icon. you may notice it on every single widget you have, where you can press and refresh the info. or, in most menus. it means refresh/sync
Or when it tells you what it does in the setup process
This icon is there forever / syncing all the time?
I think I disable most of the sync function in apps ...
Does it cause my battery running out so fast? ...
TheBiles said:
It means account data is syncing.
-------------
Sent from my HTC EVO 4G using Tapatalk Pro.
Click to expand...
Click to collapse
cail9970 said:
This icon is there forever / syncing all the time?
I think I disable most of the sync function in apps ...
Does it cause my battery running out so fast? ...
Click to expand...
Click to collapse
your talking about the constant sync bug from rooting. I heard about it but never encountered it, don't remember what fixes it besides a wipe. Go ask in the dev forum
I believe that canceling all sync operations and restarting them a few times seemed to fix it for those that encountered that bug (you can do this from Settings/Sync), plus possibly a reboot... Don't hold me to it tho!

App to monitor which app is using bandwidth

My phone is draining quite quickly. Lost 30% in 2 hours without doing anything. Also, it gets pretty warm and the data arrows are constantly active. So there must be an app that's using bandwidth and draining my battery.
Is there an app in the market that shows which apps use the bandwidth?
Reboot doesn't help and I don't have any refreshing webpages open so it's a big mystery for me which app causes this drain...
No need for an app. Just press *#*#4636#*#*
Yes it sounds like you have a dodgy app. Two main culprits are the engadget widget, and having igoogle as your home page.
To find our what's doing it, either install the 'spare parts' app from the market, or (simpler) go to your dialer and key in *#*#info#*#*
This will access the hidden menu that the spare parts app gets you into. In here, select 'battery history' and you can select from a drop-down different parts of your phone that use barry power. Select ' network usage' and 'partial wake usage'. I believe this will highlight the culprit for you.
Hope this helps.
Sent from my HTC Desire using XDA App
Thanks, I see a lot of network traffic being used by "1013". Does anyone know what that is? Clicking it crash the info-app.
The calendar app is 1011 which is the main culprit on mine. It's not the calendar widget is it? Try force closing the calendar app and widget and reboot.
Zjoske said:
Thanks, I see a lot of network traffic being used by "1013". Does anyone know what that is? Clicking it crash the info-app.
Click to expand...
Click to collapse
From doing a bit of digging, it looks like this 1013 is a "mediaserver" process, (Whatever that means) and that no one seems certain exactly what it is. But it does seem that people are seeing it stop when they remove Weatherbug and/or the youtube widget. Do you have either of these installed?
Open up the Android Marketplace and select 'downloads'. This will show you your installed apps in the order you installed them. The most recent at the top. Start removing the most recent apps one by one until you see the 1013 process stop.
If you manage to put your finger on the culprit, you can help lots of people out here. Check out the threads on this forum under "Network usage by 1013".
After all is there any application which could show data traffic in Kb per application?
I too have found a mysterious app/process using the majority of my data called "0" clicking it force closes the app.
Anyone else have this?
bridgstfer said:
I too have found a mysterious app/process using the majority of my data called "0" clicking it force closes the app.
Anyone else have this?
Click to expand...
Click to collapse
Additionally to "0" i also have the processes "1014" and "1010" listed under *#*#4636#*#*. Anybody out there who knows what they exactly do as they consume quite a bit of my data-amount?
Anybody? No Dev around here who knows every process personally and by name ?
Netcounter.
Free and awesome. Find it in the market, more info here: http://www.jaqpot.net/netcounter/
I had the same issue, Solved it by deinstalling the k9-mail app, which was causing the 1013 flooding.
Sent from my HTC Desire using XDA App
heya,
st0kes: Hmm, yes, but from what I can tell, NetCounter only tells you total data traffic, whereas what we're talking about here is traffic per app
For me, the data traffic arrows starting being lit up near constantly this morning, even though I wasn't doing anything active, as such. I also noticed the data usage counter in my Credit Usage app going up steadily. Bit worrying.
On my, it's showing an app "1010" as using a lot of traffic - anybody have any idea what that is?
Is it actually feasible to make an app that logs network traffic by app? Is something like that possible via the SDK?
Cheers,
Victor
You can see the data usage by app by using 'Network TrafficStats'
Sent from my HTC Desire using XDA App

Snsservice restarting?

I noticed this with dk28 where my snsservice would keep saying restarting after about an hour when my phone is booted and doesn't have a running time. I don't know if this is causing some issues because the phone then say that I can't edit my contacts.
Sent from my SPH-D700 using XDA App
drrayl said:
I noticed this with dk28 where my snsservice would keep saying restarting after about an hour when my phone is booted and doesn't have a running time. I don't know if this is causing some issues because the phone then say that I can't edit my contacts.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
I gather you are referring to Facebook SNS? This started after Facebook made changes to their application and introduced their own sync process. Those changes did something that conflicts with Google's integration with Facebook.
Google and Facebook are going at it over the sync process within Android.
Source
There is another thread a few pages back in this sub forum that discusses possible work arounds. Nothing confirmed to resolve the constant prompts as of yet.
I'm having this issue too, I don't use Facebook and I can't find anything on any of the forums about this issue. No problems other than SNSSERVICE RESTARTING... continuously in running services. I push to stop it and it goes away, but I haven't noticed any other problems, even after I close it. I do notice that my battery lasts longer when I kill it. What EXACTLY does SNSService do? I've heard several different comments that it is for Facebook, its for Security (? if so, what security?), etc... and what would be causing it to go into restart. I do toggle off 3G from Power Control Plus (and GPS and Auto Sync) when I'm at work or other times when I have 1 or 2 signal bars (to save battery), but when I've had this happen, I try reconnecting all those, and it does not save the snsservice from going into a restart loop.
rando991 said:
I'm having this issue too, I don't use Facebook and I can't find anything on any of the forums about this issue. No problems other than SNSSERVICE RESTARTING... continuously in running services. I push to stop it and it goes away, but I haven't noticed any other problems, even after I close it. I do notice that my battery lasts longer when I kill it. What EXACTLY does SNSService do? I've heard several different comments that it is for Facebook, its for Security (? if so, what security?), etc... and what would be causing it to go into restart. I do toggle off 3G from Power Control Plus (and GPS and Auto Sync) when I'm at work or other times when I have 1 or 2 signal bars (to save battery), but when I've had this happen, I try reconnecting all those, and it does not save the snsservice from going into a restart loop.
Click to expand...
Click to collapse
I have the EXACT same problem, on EB13 Syndicate ROM.
One thing I know for sure is snsservice fetches email syncs at the selected intervals for the stock email app, because I haven't been getting any emails since the problem started. My girlfriend has the Samsung Fascinate (sister phone) and she has the EXACT same problem. Anyone else know?
I found a fix for this...I'll bet if you have this problem you don't have a Facebook nor Twitter account and thus, have removed the "Feeds & Updates" widget from your screens. If you DON'T force close the SNSService, but just put the Feeds & Updates Widget back on an unused screen somewhere it will immediately stop the snsservice from restarting. I've then deleted the widget from my screen and was good for about 2 weeks, then it started doing it again (after the facebook app got an update) so I just left the widget up now.
rando991 said:
I found a fix for this...I'll bet if you have this problem you don't have a Facebook nor Twitter account and thus, have removed the "Feeds & Updates" widget from your screens. If you DON'T force close the SNSService, but just put the Feeds & Updates Widget back on an unused screen somewhere it will immediately stop the snsservice from restarting. I've then deleted the widget from my screen and was good for about 2 weeks, then it started doing it again (after the facebook app got an update) so I just left the widget up now.
Click to expand...
Click to collapse
That's more of a workaround, rather than a fix.
so does this drain the battery? I had it happen last night on bonsai
robl45 said:
so does this drain the battery? I had it happen last night on bonsai
Click to expand...
Click to collapse
I don't know, for sure it doesn't help it. It would be nice if somebody shed some light on this bug.
My fix is to just delete the two SNS apk's, and use the respective apps built in sync feature.
xxmastermindxx said:
My fix is to just delete the two SNS apk's, and use the respective apps built in sync feature.
Click to expand...
Click to collapse
what are the 2 apks? are they safe to delete even if I'm using fb (Facebook)? I've notice that when snsservice is restarting and if I kill it, it will stop notifications on fb.
burgerpimp07 said:
That's more of a workaround, rather than a fix.
Click to expand...
Click to collapse
Excuse me...you are right, it's a workaround, like the airplane toggle and the upside down compass calibrate, but hey I hope folks can use it until it does get fixed, which, I think people with the issue would appreciate knowing.
kycz777 said:
what are the 2 apks? are they safe to delete even if I'm using fb (Facebook)? I've notice that when snsservice is restarting and if I kill it, it will stop notifications on fb.
Click to expand...
Click to collapse
To remove the stock, built in SNS features, you can remove the following files:
Snsaccount.apk
Snsproviders.apk
About affecting the fb app, I'm not sure. I just started using the fb app so I can't say with certainty. I am going to test and see if deleting either or both apk files stop notifications in the fb app. Based on what you said, sounds like it might.
Sent from my SPH-D700 using XDA Premium App
xxmastermindxx said:
To remove the stock, built in SNS features, you can remove the following files:
Snsaccount.apk
Snsproviders.apk
About affecting the fb app, I'm not sure. I just started using the fb app so I can't say with certainty. I am going to test and see if deleting either or both apk files stop notifications in the fb app. Based on what you said, sounds like it might.
Sent from my SPH-D700 using XDA Premium App
Click to expand...
Click to collapse
I'm pretty sure you NEED those apks if you ARE using Facebook. You just need to put the Feeds and Updates Widget back on one of your unused screens.
No, if you're using the Facebook app that you download from the market, you don't need either of those apks.
Just tested notification functionality like I mentioned in my last post, and I am getting them all. Those apks are deleted on my phone.
You'd need to keep those apks if you want the Twitter and Facebook functionality that comes built in on a stock phone.
Sent from my SPH-D700 using XDA Premium App
Does deleting those two apks not affect Latitude updates? I know their separate services but it seems as if Latitude doesn't automatically update correctly when I remove either snsservice or drmprovider.
Blankrubber said:
Does deleting those two apks not affect Latitude updates? I know their separate services but it seems as if Latitude doesn't automatically update correctly when I remove either snsservice or drmprovider.
Click to expand...
Click to collapse
Just freeze them, thats what i did and no issues
davidrules7778 said:
Just freeze them, thats what i did and no issues
Click to expand...
Click to collapse
I froze the sns and drm processes and haven't had problems. Seconded =).
Sent from my SPH-D700 using XDA App

[Q] Help, Media/DownloadManager causing massive battery drain

Hello,
I was wondering if anyone could help me.
I just flashed a various of roms to try and fix this problem im having but all seem to cause the same problem (roms from CM9 to Charmeleon 5.0) all stock kernels
Media appears to be using the internet constantly over my 3G.
And when I use betterbatterystats it shows as DownloadManger partial wakelock and it ticks up every second including the number of wake locks.
Thanks heaps
All help is welcome
First thing to try would be to disable all auto-syncing on all accounts, reboot the phone, and see if it stops. Then turn each one on in turn, and see when it re-starts.
As it's clearly not ROM/kernel related, it must be something you are inadvertently setting up each time.
The only Google sync settings I have checked are Calendar, Contacts, Gmail and Google +. All others I do manually. I found having things like Instant Upload and Picasa Web Albums caused to much background activity.
Found it was due to a bug in greader, dev has just released a beta that fixes it
Thanks for you support
Sent from my HTC One X using xda premium

Twitter data sync disabled

Het
I have noticed over the past week i haven't been getting Twitter notifications. When i looked on the app account settings it says "data sync disabled". I have removed both accounts but no luck.
Anyone know whats wrong?
Sent from my HTC One X using xda app-developers app
For past couple of weeks twitter doesnt work on my phone, cant login at all. No problem on pc or even phones browser, just the app doesnt work.
Sent from my HTC
The sync will come as disabled if your auto-sync is off. Switch auto-sync on and then try.
@tadas_max
sure you're entering right details ? Give other twitter apps a try ubersocial, tweetcaster, etc.
death__machine said:
The sync will come as disabled if your auto-sync is off. Switch auto-sync on and then try.
@tadas_max
sure you're entering right details ? Give other twitter apps a try ubersocial, tweetcaster, etc.
Click to expand...
Click to collapse
That was the problem, auto sync was off, however i have been getting Facebook notifications
Sent from my HTC One X using xda app-developers app
Some apps require auto-sync to be switched on and some don't.
death__machine said:
The sync will come as disabled if your auto-sync is off. Switch auto-sync on and then try.
@tadas_max
sure you're entering right details ? Give other twitter apps a try ubersocial, tweetcaster, etc.
Click to expand...
Click to collapse
Sure the detailes are right
Tried tweetcaster etc cant login. Cannot connect to Twitter servers. Autosync is always on.
Sent from my HTC One X
tadas_max said:
Sure the detailes are right
Tried tweetcaster etc cant login. Cannot connect to Twitter servers. Autosync is always on.
Sent from my HTC One X
Click to expand...
Click to collapse
Make sure you're right about the password. **** ups happen to the best of us lol! especially on a touch screen.
That's VERY weird. Tried restarting, flashing roms, factory reset?
death__machine said:
Make sure you're right about the password. **** ups happen to the best of us lol! especially on a touch screen.
That's VERY weird. Tried restarting, flashing roms, factory reset?
Click to expand...
Click to collapse
I can login using stock browser, so I guess password is not the issue. I am on stock, non rooted phone. Tried restarts, clearing data etc. I guess the only sollution would be factory reset, but ill wait for JB ota, since I do factory resets after each ota
It was working perfect all the time. But one day I started the Twitter app and it said "cannot retrieve post or something like that". After that I tried to remove twitter from my sync account, cleared data, restart phone. Tried to re add Twitter account but when I enter the login info it says "error occurred...try again later"
Sent from my HTC One X
Problem solved. I can login again. The problem was that in time and date settings I needed to select automatic settings. Weird
Sent from my HTC One X
tadas_max said:
Problem solved. I can login again. The problem was that in time and date settings I needed to select automatic settings. Weird
Sent from my HTC One X
Click to expand...
Click to collapse
Happens all the time with secure connections. Its a safeguard
Sent from my HTC One X using XDA

Categories

Resources