facebook 1.5 partial wakelock - Nexus One General

How's your battery status after the last facebook update?
From what I'm seeing facebook is holding a partial wakelock for the whole time
Is this happening in any situation?
Removing the facebook account from the phone fixes the problem... but would like to keep it in...
now I'm trying with the notifications disabled...

FB has the highest partial wakelock use on mine, but it's not massive, it's bar is about 1/5 full.

but the timing is embarassing compared to other apps :/
to me it looked that the android system wakelock were very high too...
i'm trying to see if the notifications disabled it lowers down...

How can I check this?

*#*#4636#*#*
then select "battery history"

Or use Anycut to create a shortcut to the 'Testing' app.

same here.. uninstalled.

No problems here.
41 seconds total.
Although I would LOVE to be able to turn off the Facebook push notifications. Despite having disabled everything inside the FB app, they still get pushed to my phone, which drives me ****ing crazy.

I suspect having everything turned off would be why you have a very low wakelock?

Mine is very low. I set facebook to never check for updates since the last release added push notifications. I don't think polling for updates is necessary anymore. No clue why it even has the option still.
Sent from my Nexus One using XDA App

hexix said:
Mine is very low. I set facebook to never check for updates since the last release added push notifications. I don't think polling for updates is necessary anymore. No clue why it even has the option still.
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Facebook developers suck balls, that's why.

JCopernicus said:
Facebook developers suck balls, that's why.
Click to expand...
Click to collapse
Status updates aren't pushed, I'm guessing that it'd fry the servers. So if you want your synced contacts to display their status in the contact popup you have to poll them.

Somehow the iPhone and Blackberry apps are able to use push notifications properly without frying anyone's servers. Email and SMS notifications can also be sent out instantly. I'm pretty certain there is no technical reason why the Android app can't work right.

pfmiller said:
Somehow the iPhone and Blackberry apps are able to use push notifications properly without frying anyone's servers. Email and SMS notifications can also be sent out instantly. I'm pretty certain there is no technical reason why the Android app can't work right.
Click to expand...
Click to collapse
Sure there is, facebook developers suck balls.

pfmiller said:
Somehow the iPhone and Blackberry apps are able to use push notifications properly without frying anyone's servers. Email and SMS notifications can also be sent out instantly. I'm pretty certain there is no technical reason why the Android app can't work right.
Click to expand...
Click to collapse
The news feed updates don't get "pushed" to either of those devices. The polling frequency is for updating the news feed which you would want when using the facebook widget.

I'm not interested in wall updates getting pushed. Notifications get pushed to those devices, and that's all I expect from the Android app.

Newbie question, what is a wake lock and how does it drain battery?

killing the facebook app solved my problem (not only facebook where being very "active"... but also the "android system" was kept constantly awake!!)
in the usage history the system was basically never sleeping... running the whole time :/
as for now I started facebook again... and disabled the notification thing... let see what will happens...

I can confirm that disabling the notifications "fixed" the problem... no more continuos wakelock when app is started...
dunno if push is really working... (don't appear so... will see in the next days :/)

Rusty! said:
I suspect having everything turned off would be why you have a very low wakelock?
Click to expand...
Click to collapse
Yeah, probably.
The Facebook app is just atrocious. I hate it with a fiery passion. Basically the ONLY 2 reasons I have it installed are 1) Facebook/Contact picture sync and 2) Upload from gallery to FB.

Related

Facebook and android

Seriously, bb and facebook rock. Android and fb suck. I get NO notifications. Ever. Why? I dont know why. I read on here that people do get notifications so what the deal is? Why am i not getting any?
This is on stock, on root, cm7, and same issues on my g2 and mt4g, and nether one of my phones with 2 different facebook accounts for two different people get notifications. Is there a setting in facebook on the desktop that im unaware of?
Sent from prison
tackleberry said:
Seriously, bb and facebook rock. Android and fb suck. I get NO notifications. Ever. Why? I dont know why. I read on here that people do get notifications so what the deal is? Why am i not getting any?
This is on stock, on root, cm7, and same issues on my g2 and mt4g, and nether one of my phones with 2 different facebook accounts for two different people get notifications. Is there a setting in facebook on the desktop that im unaware of?
Sent from prison
Click to expand...
Click to collapse
There are better and alternate facebook apps on the market maybe the notifications will work with those. I have no notification issue myself with the official app but there are other options you can try. Account/sync settings may be some help as well.
Sent from my CM7 powered G2
I get messages pushed but no update notifications such as someone posted on my wall or replied to me
Sent from my HTC Vision using XDA App
TweetDeck FTW... http://www.appbrain.com/app/tweetdeck-(twitter-facebook)/com.thedeck.android.app
It does Facebook, Twitter and more. Works beautifully.
same here
tackleberry said:
I get messages pushed but no update notifications such as someone posted on my wall or replied to me
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
I get the exact same issue, No matter what android phone I had. No notifications are being pushed to my phone at all. I did have it working at some point, but it suddenly stopped.
Yea mine was working when I first had my mt4g, but even then it was not up to date much. Then all the sudden it stopped. Back then I was running iced glacier rom on that phone
Sent from my HTC Vision using XDA App
I rarely use Facebook so I'm probably not the best indication of whether notifications are working on not, but I noticed that I used to get them fine with the old version of the app, it stopped working/worked sporadically for about two versions, and then it started working again with the latest update that just came out last week.
Like I said though, I rarely get any notifications to begin with so maybe it is still sporadic and I've just been lucky so far (especially since it seems like a lot of people have had nothing but problems with the latest update).
ianmcquinn said:
I rarely use Facebook so I'm probably not the best indication of whether notifications are working on not, but I noticed that I used to get them fine with the old version of the app, it stopped working/worked sporadically for about two versions, and then it started working again with the latest update that just came out last week.
Like I said though, I rarely get any notifications to begin with so maybe it is still sporadic and I've just been lucky so far (especially since it seems like a lot of people have had nothing but problems with the latest update).
Click to expand...
Click to collapse
I downloaded the new version last night.... no changes other than the notifications screen works in landscape
Sent from my HTC Vision using XDA App
Ok sadly none of us seemed to think about this...
Typically, when I open facebook, I see a list of posts, then I back out and I see notifications screen, then I back out again and think its still running but in reality, its actually turned off.
Instead of backing out of the program like anything else, just hit the home button to exit fb and notifcations work just fine.
sent from the rooty tooty fresh and fruity cm7 nighly powered G2
tackleberry said:
Seriously, bb and facebook rock. Android and fb suck. I get NO notifications. Ever. Why? I dont know why. I read on here that people do get notifications so what the deal is? Why am i not getting any?
This is on stock, on root, cm7, and same issues on my g2 and mt4g, and nether one of my phones with 2 different facebook accounts for two different people get notifications. Is there a setting in facebook on the desktop that im unaware of?
Sent from prison
Click to expand...
Click to collapse
Same here. I am also using the official app and no notifications are being pushed to me either, and they are enabled. I am running stock software on my G2. My girlfriend has Mytouch 3G and she gets the notifications. Pretty weird stuff.
I just did the facebook app update the other day and my notifications are now working.
I am running CM 6.1.1
make sure in facebook app settintgs you have a CHECK next to notifications and refresh interval set to 1 hour.
also make sure contact sync is ON, which might help?
I don't use facebook.
Ehh, I'm not gunna complain, the fb is 100% better than it was half a year ago.lol. but yeah, +1 for the no notifications.
Sent from my SilverBullet "HTCDesireZ running CM7"
well like i said above, dont back out of the program, just hit the home button and leave it running.
if using a task killer, ignore FB. i have been getting notifications since yesterday when i tried this. apparently, FB must be running in order for notifications to work, exiting the program or killing it completely does not allow for push notifications to run thru.
Flow for Facebook is a really good alternative app. It has an option to use the email notifications you get from facebook and switch that over to use for the app. For example, If someone comments on my post I will see the email thing appear but it will disappear and switch to the flow notification saying its for facebook and what not. Theres an option to delete the emails too when it gets notified(paid version). Try it out, I have both official and flow. Flow is so i get instant notifications and the official is just for playing around because flow doesnt have chat yet.
Congrat' : you've just given your Fb IDs to a private company !
but same probleme here... I wish I could receive several sort of notifications... (birthday, event...). Now, I just receive mail....
I get notifications you need to set it up in facebook? If you not done that take a look at privacy settings. I requested on notifications when people add me on post on my wall that's it to many get really annoying......
Sent from my HTC Desire using XDA Premium App
I don't bother with the FB app notifications, they don't seem to work anyway. I just use the FB texts.
Well, I gave up on the FB App notifications months ago. So I just set up my account so it sends me texts anytime I get a notification. Way easier, at least for me. I didn't have that many problems with notifications still, but they were always late. Like a minute or so. Texts are faster, at least with me. Just saying :3
I never have problems getting notification from fb. They also are going right thru gmail
Sent from my HTC Vision using XDA App

Facebook push notifications

They just started up for me again. Anyone else?
Sent from my Nexus One using XDA Premium App
they've never worked for me
not on 2.2 or 2.3
facebook needs new developers. whoever is in charge of that app is clearly terrible at their job
I haven't seen Facebook use push notifications on any Android phone yet.
They have polling settings (30 minutes, an hour, etc), but not push. There's not even an option for push.
the changelog said after a certain version update it enables the push notification. But.. never worked for the though...
Pretty sure they only work for certain types of notifications and you have to make sure they are enabled.
They have been off and on again. And for me, they are now on.
I just got one a few minutes ago also.. it's been a while..
I was wondering about that. it started yesterday....so, it works for me now
Finally, some useful replies.
Sent from my Nexus One using XDA Premium App
What do you have to do to enable push notifications instead of pull?
mindfrost82 said:
What do you have to do to enable push notifications instead of pull?
Click to expand...
Click to collapse
they've never even said. the developers are the worst
they put "push updates" in the changelog yet there's not even settings for it
and left in the polling settings. which only work for a few things anyway
it's a total mess
your better off using Flow for Facebook by Chris Banes
mattpannella said:
facebook needs new developers. whoever is in charge of that app is clearly terrible at their job
Click to expand...
Click to collapse
Agreed. The Facebook app is ****ing horrendous. Heads should be rolling over there at the awfulness of their app... yet they keep updating the worthless sorry excuse for an app.
facebook push for me right now.
Seems to get worse with every update...
Sent from my Nexus One using XDA Premium App
I set "Never" for "Refresh interval" and enabled "Notifications". I do receive push notification for all Messages and Event invites.
I think that you need to be signed into chat to enable push notifications.
Rusty! said:
I think that you need to be signed into chat to enable push notifications.
Click to expand...
Click to collapse
I don't see a way to not be signed onto chat, not permanently at least. Regardless I am always signed in and get no push updates for anything but chat.
Once you sign out, it stays signed out, it's pretty permanent for me.
Rusty! said:
Once you sign out, it stays signed out, it's pretty permanent for me.
Click to expand...
Click to collapse
I thought that might be true, but have no way to verify it since after signing out when i go back to the chat screen i am signed in again. Really poor interface, have we mentioned recently how terrible the apps developers are?

Delayed push notifications

Hi all,
Has anyone else noticed a significant delay with push notifications (namely with gmail)?
I've got my old iPhone and the Nexus 6P side by side, and at best the push notifications come in 10 seconds later than the iPhone (sometimes it can take up to 10 minutes). I've tried the push notification fix as suggested for other phones, but got no love there.
Any suggestions?
aplant92 said:
Hi all,
Has anyone else noticed a significant delay with push notifications (namely with gmail)?
I've got my old iPhone and the Nexus 6P side by side, and at best the push notifications come in 10 seconds later than the iPhone (sometimes it can take up to 10 minutes). I've tried the push notification fix as suggested for other phones, but got no love there.
Any suggestions?
Click to expand...
Click to collapse
Is Gmail app fetching your emails on a timer or is it push?
airwa1kin7 said:
Is Gmail app fetching your emails on a timer or is it push?
Click to expand...
Click to collapse
Set to push, otherwise I'd understand the large delay.
aplant92 said:
Set to push, otherwise I'd understand the large delay.
Click to expand...
Click to collapse
I just realized gmail only does push.
I just tested it on my Nexus 6p and it pushed a few seconds after the email was sent. At first however I had to manually refresh for the first test email, then the second test email pushed to the device.
I tested by sending a email from a icloud account on my macbook and sending to my gmail account on my phone.
airwa1kin7 said:
I just realized gmail only does push.
I just tested it on my Nexus 6p and it pushed a few seconds after the email was sent. At first however I had to manually refresh for the first test email, then the second test email pushed to the device.
I tested by sending a email from a icloud account on my macbook and sending to my gmail account on my phone.
Click to expand...
Click to collapse
It's almost as though there's some power saving feature going on once you lock the screen (this is where the delay happens, when locked).
aplant92 said:
It's almost as though there's some power saving feature going on once you lock the screen (this is where the delay happens, when locked).
Click to expand...
Click to collapse
Mine was locked as well. Battery saver disabled. Battery Optimization Off. Unplugged/No charger.
airwa1kin7 said:
Mine was locked as well. Battery saver disabled. Battery Optimization Off. Unplugged/No charger.
Click to expand...
Click to collapse
Same here, seems strange that it's taking so long then...
Also, when deleting an email from the notification, it just keeps popping back up (i.e. not deleting). There's obviously some strange sync issue going on with gmail and exchange
I've had the same problem and haven't found a solution either. Glad to see that I'm not the only one! I posted on Reddit, but it didn't get much play. https://www.reddit.com/r/Nexus6P/comments/3seyj6/delayed_gmail_syncnotifications/
To try and fix the issue, I've (in no particular order):
Removed my Google account and readded
Gone through Gmail settings to make sure that notifications are on, sync is active, managed labels
Gone through the Google account to make sure that Gmail sync is on
Restarted
Uninstalled updates to Gmail from the Play Store
Reinstalled updates to Gmail from the Play Store
Force Stopped Gmail
Cleared data from Gmail
Cleared cache from Gmail
Removed it from optimized apps
Changed my password on computer, then waited for phone to ask to reinput
I'm on a 64 GB Aluminum, unlocked, MDB08M. I do not have my SIM card yet (only Wi-Fi). Perhaps that's the issue?
I'm getting to the point where I'm going to factory reset, but I was really hoping I wouldn't have to, and I'm not optimistic it would help.
threshfire said:
I've had the same problem and haven't found a solution either. Glad to see that I'm not the only one! I posted on Reddit, but it didn't get much play. https://www.reddit.com/r/Nexus6P/comments/3seyj6/delayed_gmail_syncnotifications/
To try and fix the issue, I've (in no particular order):
Removed my Google account and readded
Gone through Gmail settings to make sure that notifications are on, sync is active, managed labels
Gone through the Google account to make sure that Gmail sync is on
Restarted
Uninstalled updates to Gmail from the Play Store
Reinstalled updates to Gmail from the Play Store
Force Stopped Gmail
Cleared data from Gmail
Cleared cache from Gmail
Removed it from optimized apps
Changed my password on computer, then waited for phone to ask to reinput
I'm on a 64 GB Aluminum, unlocked, MDB08M. I do not have my SIM card yet (only Wi-Fi). Perhaps that's the issue?
I'm getting to the point where I'm going to factory reset, but I was really hoping I wouldn't have to, and I'm not optimistic it would help.
Click to expand...
Click to collapse
Yeah I've done the factory reset already and can confirm it does nothing. I'm beginning to think its the Gmail app, as the rest of my push notifications are faster or the same speed as iOS. Really crap by the Gmail devs if that is the case.
Any decent replacement email apps out there? The Samsung email app was quicker, but not sure if we can get that without rooting and flashing an apk (and even then not sure if it requires touchwiz to function).
With my 6P Hotspoting to tablet and pc email arrives on 6P a minute or 2 after them.
I don't know if this is the same or not. I have this issue with both the Yahoo mail app and the Outlook app. My gmail notifications seem to be showing up reliably, but I never get any Outlook notifications, and Yahoo's are sporadic--one our of every three or four. When I open either app, it then seems to go fetch the incoming emails. On my previous phone, when I open the app, they're already there. I don't believe I have anything set differently in the apps. I would love to figure this out.
So, I did a factory reset and installed nothing but Outlook and Yahoo mail. Then I sent two notes to my Outlook, Yahoo, and Gmail addresses, and all three of each note arrived almost simultaneously. I guess, now, I'll start re-installing essential apps and testing.
Was looking around and saw someone posted on the official Nexus forums; if anyone here is still having the issue, please head over and +1/reply so Google can escalate the fix.
https://productforums.google.com/forum/#!topic/nexus/Ayd_1TOemSE
I'm having the same issue and I've also noticed that IMs on Hangouts are ridiculously slow. You would think that Google would make sure that at least their own apps worked smoothly on their flagship device.
I think I may have solved my sync issues. In the WiFi advanced settings, I switched the WiFi frequency band from Auto to 2.4Ghz. Ever since I did that I've received notifications on my Nexus 6P just as quickly as I do on other devices.
Wow, glad I saw this thread. I've been noticing gmail is slow lately. I thought it might have been my ROM/Kernel combo. I use Inbox and it was fine up until lately. Guess it's a bug for Google to fix. I even spent time last night reflashing stock and starting fresh out of box state.
This is happening to me too..happens on gmail and as well as Google opinion rewards. It's been happening for a little over a week now...hopefully will be fixed soon..
Is it happening to everybody or just a select lucky few?
Sent from my Nexus 6P using Tapatalk
Lots of users having this issue
http://www.androidpolice.com/2016/0...syncing-issues-in-gmail-inbox-and-other-apps/
I see that lot of people are only discussing about Gmail and other mailing or hangout apps.
I on the other hand am seeing overall notification push delay across all the apps including Whatsapp, Gmail, Facebook etc. I am unrooted and no changes made whatsoever to my android marshmallow. It is also on latest OTA build.
I receive all notifications as soon as I unlock the device, but if my device is lying on a table (even when not in doze mode which means lying for less than 30 minutes) I still don't receive any notification. As soon as I unlock and turn on screen it seems like data connectivity resumed and all notifications starts to flow within 5-10 seconds without even opening those apps to refresh.
I also have not modified any other notification setting and I even tried to keep whatsapp to priority mode + no battery optimization, still Whatsapp is having hard time receiving notification if screen is turned off for more than 5 minutes..
If you are experiencing this kind of an issue and have successfully resolved it, kindly help me.
I've lost email notifications but I have read that Google know about the problem,
Sent from my Nexus 6P using XDA Free mobile app

Anyone else having trouble with Gmail sync?

Intermittently with the the Gmail app I will go hours without receiving any email notifications, and it often isn't until I get a notification on my iPad that I even think to check the phone to see emails from the day before! Apparently there's a bug report in the tracker, but I was wondering if there was any kind of workaround you guys have tried. This is a crippling bug for me.
Sent from my iPad using Tapatalk
I was having the same problem, but after performing a factory reset sync started working again. Then shortly after, I installed the January security update... no problems since.
I've had problems after the December update. Finally had to disable "battery optimization" for gmail. That fixed my sync issues. I got real irritated by getting email notification hours or even a day late
318sugarhill said:
I've had problems after the December update. Finally had to disable "battery optimization" for gmail. That fixed my sync issues. I got real irritated by getting email notification hours or even a day late
Click to expand...
Click to collapse
Where is that setting located?
Sent from my Nexus 6P using Tapatalk
TheBiles said:
Where is that setting located?
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Under main settings go to battery, then in the 3 dots menu click "battery optimization" and then you will see a drop down arrow. Select all apps and then scroll down to gmail and turn of "optimization"
I might have to try the above. I wasn't able to use the phone much today, but when I came home, my PC showed 19 emails on Gmail. NONE of them appeared to sync on the app & I had no clue I had this many, or any for that matter. This has been a persistent issue for about a month or so.
The above settings didn't seem to do anything for me. I just got 20 emails in from 6am this morning until now. I wonder if using inbox by google produces the same issues.
Sent from my Nexus 6P using Tapatalk
Interesting. It's quite the annoying problem. I've had only 1 time with delayed notifications since turning off doze for gmail. I did read that it has not worked for some. I periodically turn airport mode on and then off.... At least once a day just to make sure I'm getting my messages
Guys its not about battery optimized..its about new gmail apk.either move to inbox by google or go.to settings of gmail under notifications sound vibrate etc u ll see notify in every message or u can choose once a day once a week or a month to take notifications.. U can thank me later ?
^yep, mine was also unchecked! Good catch!
galaxys said:
^yep, mine was also unchecked! Good catch!
Click to expand...
Click to collapse
Thats not the actual problem though. Ive always had that box unchecked with all my phones because i would get a message (be alerted) deal with that message allowing gmail to then alert me of the next message.
All checking that box is gonna do is if Gmail fails to notify you of the 1st message but then trys once you receive the 2nd or 3rd etc you will be alerted.
Needless to say i am also having the problem.
Appears this is a known problem with Nexus devices (probably a combo of Nexus/Marshmallow)
https://productforums.google.com/forum/#!topic/nexus/Ayd_1TOemSE
Hopefully its only the app that needs tweaking and not the OS itself so we dont have to wait forever and a day for the update.
dukat0s said:
Guys its not about battery optimized..its about new gmail apk.either move to inbox by google or go.to settings of gmail under notifications sound vibrate etc u ll see notify in every message or u can choose once a day once a week or a month to take notifications.. U can thank me later ?
Click to expand...
Click to collapse
That's NOT the problem. Mine are checked for every message and I still had delays.... Until I turned off optimization. And even that hasn't 100% fixed it.
Turning off optimization also fixed it for me. It gets stuck in doze I think. Google still has some bugs to work out.
Looks like the problem was server side and a fix is being rolled out
krolla03 said:
Looks like the problem was server side and a fix is being rolled out
Click to expand...
Click to collapse
Its one year now and still they didn't fix this issue of gmail lol.
chainrulez said:
Its one year now and still they didn't fix this issue of gmail lol.
Click to expand...
Click to collapse
It's better than it used to be. But still doesn't refresh in doze at times. Lots of stuff breaks during doze it seems lol. Nice feature but buggy. Android will always have some new buggy feature though. Been that way since I joined Android in the eclair days.

Gmail not pushing emails on my 6p

Hi all,
Apologies if this is the wrong place to post this but u couldn't find a relevant forum... On my 6p my Gmail all is not pushing email notifications through to me live a they come. I am having to open the app up and then pull down to refresh the app and then they will all appear.
If I leave it long enough eventually they will all come through. For example the other day I left it too see what would happen on a weekend day and at around 4pm my email went from nothing to flooded with emails going back as far as 5am.
If I use inbox it works fine but I prefer the Gmail app. I have even gone to the lengths of factory resetting my phone to see if that helps but it didn't.
Does any one know a fix for this please? Thanks in advance for any help.
yea it's a known issue. Google says they are working on it..
https://productforums.google.com/forum/m/#!topic/nexus/Ayd_1TOemSE
https://code.google.com/p/android/issues/detail?id=197805
For info, this seems to plague other devices running marshmallow. Same thing with my Xt1092.
zolah said:
Hi all,
Apologies if this is the wrong place to post this but u couldn't find a relevant forum... On my 6p my Gmail all is not pushing email notifications through to me live a they come. I am having to open the app up and then pull down to refresh the app and then they will all appear.
If I leave it long enough eventually they will all come through. For example the other day I left it too see what would happen on a weekend day and at around 4pm my email went from nothing to flooded with emails going back as far as 5am.
If I use inbox it works fine but I prefer the Gmail app. I have even gone to the lengths of factory resetting my phone to see if that helps but it didn't.
Does any one know a fix for this please? Thanks in advance for any help.
Click to expand...
Click to collapse
Try going to "App Notifications" and select "Priority"
For me, it needed to be whitelisted in the battery optimization menu. It seems like doze or app standby is killing the app.
Sent from my Nexus 6P using Tapatalk
It's funny, I can't seem to get mine to update the main account on the phone but every other account on the app sends push notifications. My work and school emails actually notify me of emails but my Gmail account just wont work...
I been noticing the same thing on my 6p looks like once you open Gmail it starts pushing after that.
SX86 said:
For me, it needed to be whitelisted in the battery optimization menu. It seems like doze or app standby is killing the app.
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Tried that and no change. The only push notifications are if I sign out and then sign in to another phone!
My Gmail (v6.01....) was working perfect until I updated to the lastest build (MHC19I), then Gmail stopped pushing notifications. I read on the google forums in the link posted above that reverting back to Gmail version 5.7... would fix this problem and it did. So, I turned off auto-updates for Gmail and will remain on version 5.7 until Google fixes this issue.

Categories

Resources