Facebook keeping device awake - OnePlus 6T Questions & Answers

Anyone notice Facebook battery drain, well should I say abnormal drain. Using bbs it comes up as kernel keeping the device from going to deep sleep, but it's Facebook. If I'm on Facebook or was on Facebook and turn off phone it doesn't go into deep sleep at all, however if I clear Facebook from recents it goes into sleep immediatly. I can reproduce this every time. Have also reinstalled Facebook and cleared cache, to no avail. I'm familiar with other options so posts regarding that is useless. Just looking to see if anyone else has noticed or can reproduce the same behavior. Happens on stock and em kernel

cwalker0906 said:
Anyone notice Facebook battery drain, well should I say abnormal drain. Using bbs it comes up as kernel keeping the device from going to deep sleep, but it's Facebook. If I'm on Facebook or was on Facebook and turn off phone it doesn't go into deep sleep at all, however if I clear Facebook from recents it goes into sleep immediatly. I can reproduce this every time. Have also reinstalled Facebook and cleared cache, to no avail. I'm familiar with other options so posts regarding that is useless. Just looking to see if anyone else has noticed or can reproduce the same behavior. Happens on stock and em kernel
Click to expand...
Click to collapse
Silly question, but have you restricted background battery usage for the Facebook app?

Uninstall Facebook = no privacy leaked, no wake up clock.
---------- Post added at 05:41 PM ---------- Previous post was at 05:41 PM ----------
= FIXED

Ryano89 said:
Silly question, but have you restricted background battery usage for the Facebook app?
Click to expand...
Click to collapse
Yep, on any battery app, it was showing the kernel causing the drain, I had to literally watch the sleep times. If I closed it in recents it would be fine , but if I just turned off phone...drain

Dedzdedz said:
Uninstall Facebook = no privacy leaked, no wake up clock.
---------- Post added at 05:41 PM ---------- Previous post was at 05:41 PM ----------
= FIXED
Click to expand...
Click to collapse
Lol I installed fb lite

Mate you are opening a thread to talk about Facebook drain. This has been a thing since Facebook was released to Android. Old News. Uninstall or block Facebook. Easy as... It is not an hardware issue nor a software issue related with OnePlus.
Just saying.

Dedzdedz said:
Mate you are opening a thread to talk about Facebook drain. This has been a thing since Facebook was released to Android. Old News. Uninstall or block Facebook. Easy as... It is not an hardware issue nor a software issue related with OnePlus.
Just saying.
Click to expand...
Click to collapse
I'm not talking about normal drain, I'm talking about fb preventing deep sleep, and I know it's not a hardware issue, the purpose of the thread was to maybe help someone who is wondering why they aren't getting good battery life, but I see the idea of helping someone may be foreign to you

Facebook does not have a normal drain. It has constant wake up clocks.

Dedzdedz said:
Facebook does not have a normal drain. It has constant wake up clocks.
Click to expand...
Click to collapse
Ok so you just want to argue and I'll bite, what part of NO DEEP SLEEP are you not comprehending. At no it's not normal, even for Facebook

I understand everything that you are saying. Search on all device forums on XDA. EVERYONE has the same issue. Google is your friend.

Dedzdedz said:
I understand everything that you are saying. Search on all device forums on XDA. EVERYONE has the same issue. Google is your friend.
Click to expand...
Click to collapse
There was no need to search as I saw what the problem was, and it only started happening after fb last update. Facebook has alot of wake ups but this is something different, and even when the app was closed my frequencies would be pegged. Just because you think you know and I know, doesn't me some random person may stroll across this and it be helpful to them

Did anyone try to disable battery optimisation for FB and test?

Related

Updated Facebook app not allowing phone to sleep

Just a heads up, with the new Facebook app my phone is not sleeping. When I log out of the app the phone does sleep when the screen is off. I'm running Baked Snack 1.1. I'm curious to see if it's just me, or if others are having the same issue.
Yep, I have noticed that as well. I mentioned it in the "There is a NEW FACEBOOK APP" (paraphrased) thread.
i installed it last night and this morning it i checked spare parts for partial wake items and facebook app was the highest, near 30%
i went into the facebook app and changed the update frequency; hopefully that'll fix it
Rhys'Droid said:
Yep, I have noticed that as well. I mentioned it in the "There is a NEW FACEBOOK APP" (paraphrased) thread.
Click to expand...
Click to collapse
Ok good to know. Hopefully if enough people are having the issue Facebook will do an update to correct the problem.
I'm on the leaked .3 Rom and mines working fine, have you tried doing a restart and clearing the facebook cache?
kingakuma said:
I'm on the leaked .3 Rom and mines working fine, have you tried doing a restart and clearing the facebook cache?
Click to expand...
Click to collapse
Yeah when I reboot the phone it can go back to sleep, but if I log in to the Facebook app and back out it won't go back to sleep. Once I actually log out of Facebook the phone can sleep again.
abanh said:
Yeah when I reboot the phone it can go back to sleep, but if I log in to the Facebook app and back out it won't go back to sleep. Once I actually log out of Facebook the phone can sleep again.
Click to expand...
Click to collapse
Have you tried killing it in something like System Panel?
Just checked Autostarts, and Facebook isn't set to start on any occasion other than your account settings being changed and the widget updating. Of course I have the refresh for notifications off, but it should never start itself.
TheBiles said:
Have you tried killing it in something like System Panel?
Click to expand...
Click to collapse
If you have the widget on a homescreen it just reloads the service in short order. That and you really shouldn't have to kill something like Facebook to keep it from causing sleep issues, I understand it on "chat" apps (eBuddy, etc.), but not in a periodically updated app like Facebook. Seems like a bug to me.
TheBiles said:
Have you tried killing it in something like System Panel?
Click to expand...
Click to collapse
I've killed it with Advanced Task Killer... It just fires itself right back up.
Rhys'Droid said:
If you have the widget on a homescreen it just reloads the service in short order. That and you really shouldn't have to kill something like Facebook to keep it from causing sleep issues, I understand it on "chat" apps (eBuddy, etc.), but not in a periodically updated app like Facebook. Seems like a bug to me.
Click to expand...
Click to collapse
I was just seeing if it would stay off or if it was starting itself back up. I updated my post with its start permissions.
TheBiles said:
I was just seeing if it would stay off or if it was starting itself back up. I updated my post with its start permissions.
Click to expand...
Click to collapse
I figured that that was the case. For whatever reason, it wants to start itself though. I have my updates set to "never" and notifications set to "off" now (just had the updates set to never before, still had notifications set to "on") Charging right now, so I can't check my partial wakes, but will update to see if that makes any difference.
Killing the app doesn't work work for me. I have to sign out of the app for it to stop killing the battery.
Sent from my PC36100 using XDA App
Same problem here, if I reboot the phone it doesnt start and everything is fine, once i launch it the first time it will perpetually keep the phone from sleeping, BS1.1
just force closed it and removed the widget. it doesn't start up again either after doing all that. stupid thing.. i knew something was not right about my battery today.
I'm running CM6's latest nightly and i'm not having any issues like this with updated facebook app. I have refresh interval set at 1 hour with notifications active
krazyflipj said:
I'm running CM6's latest nightly and i'm not having any issues like this with updated facebook app. I have refresh interval set at 1 hour with notifications active
Click to expand...
Click to collapse
go to spare parts and select "partial wake usage" in battery history. you'll notice the fb app has been on since you first checked it, keeping your phone from sleeping.
shift_ said:
go to spare parts and select "partial wake usage" in battery history. you'll notice the fb app has been on since you first checked it, keeping your phone from sleeping.
Click to expand...
Click to collapse
Atttached is a screen shot of partial wake usage. No facebook issues for me so far
*Knocks on hard wood*
*EDIT* I had phone plugged in. It looks like i'm having the same issues
krazyflipj said:
Atttached is a screen shot of partial wake usage. No facebook issues for me so far
*Knocks on hard wood*
Click to expand...
Click to collapse
that's weird. mine's insanely high...
shift_ said:
that's weird. mine's insanely high...
Click to expand...
Click to collapse
NVM i had my phone charging from my computer. Mine looks similar to yours. Hopefully we get a fix soon
krazyflipj said:
NVM i had my phone charging from my computer. Mine looks similar to yours. Hopefully we get a fix soon
Click to expand...
Click to collapse
yea, it's funny though, i remember htc releasing an update that fixed battery issues with fb syncing. i wonder if it's something similar to that now, what with contact syncing enabled again. maybe i'll try it without contact syncing and see how it goes.

Facebook 1.3.0 Update is Bugged - Update from Developer

From the thread on the Android Apps Forum discussing the battery drain:
http://forum.xda-developers.com/showthread.php?t=744974
davidalves said:
Hi folks,
I'm a developer at Facebook on the Android team. First off, thanks for bringing this to our attention. We have identified the bug that is causing this battery drain and are working on a fix now. As soon as the patch is ready, we'll push out an update. Thanks for the quick feedback and for your patience as we get this fixed!
Thanks,
David
Click to expand...
Click to collapse
He only has 1 post, so he hasn't posted this elsewhere. Thought others would be interested in seeing this.
Ahh, good to know that official..
Good news. Looks like the fix is out version 1.3.1
I just downloaded it. Hopefully I'll have better battery life tomorrow.
Holy crap. Is that what is happening to my battery the last few days. ..
My battery had been exceptionally terrible the last 2 days as well
Noticed version 1.3.1 is out now
Update and save those batteries
I had backed up my last copy of FB. Now that the developers noticed the issue and released and update, so will I. Coo'
This may be an obvious answer, but how do we update the facebook app that's installed with the os?
samagon said:
This may be an obvious answer, but how do we update the facebook app that's installed with the os?
Click to expand...
Click to collapse
Market
New update is still sucking my battery. Anyone got a link to the old version?
Edit: nevermind, you can just uninstall the updates by doing it in the market.
I wonder why some people have this problem and others don't. My friends sees the problem on his Incredible, but I don't see any drain on my N1.
GldRush98 said:
I wonder why some people have this problem and others don't. My friends sees the problem on his Incredible, but I don't see any drain on my N1.
Click to expand...
Click to collapse
Do you have the widget on the home screen? Otherwise check about phone, battery info, what's been using the battery and if android os is real high, then Facebook is probably preventing the phone from sleeping.
GldRush98 said:
I wonder why some people have this problem and others don't. My friends sees the problem on his Incredible, but I don't see any drain on my N1.
Click to expand...
Click to collapse
Your friend has more friends and hence more activity.
nelsonHa-Ha.jpg
I havent had any problems with the new update, but then again, my facebook 'sync' options have never been enabled. I think today facebook updated itself again
I don't do anything with Facebook, but I do have the updated app installed and logged in. About 30 friends, sync with contacts, and no battery drain at all. System panel shows only 5 seconds of CPU time used over the last 8 hours.
Well I skipped Facebook 1.3.0 and 1.3.1 because of the battery drain. Today installed 1.3.2 and in 53 minutes the Facebook app was good for 50 minutes of partial wake time.
(and this is with update notifications set to never, etc.)
Uninstalled....reverted back to 1.2 and now no more partial wake usage from the app!
Having installed 1.3.2 my partial wake time is only 14s since unplugged for Facebook. I've got it set to notify me for messages and friend requests, plus it syncs contacts already in the phone. That said never had issues on 1.3.1.
Does anyone has the version 1.2 apk saved somewhere ? I'm looking for it and I can't desinstall the updates unfortunately.
Thank you in advance!
Any hosting service would do the trick
I haven't had a single problem in a week out of Facebook, in fact only the first day of using 1.3.1.

Terrible wakelock, new to Betterbatterystats. Day 1: "sns Partial" is my issue?

Terrible wakelock, new to Betterbatterystats. Day 1: "sns Partial" is my issue?
Should I post a log? I'm new to BBS but hope to solve this problem!
FishFan319 said:
Should I post a log? I'm new to BBS but hope to solve this problem!
Click to expand...
Click to collapse
sns_periodic_wakelock?
http://forum.xda-developers.com/showthread.php?t=2049638
As far as I know, SNS stands for Social Networking Site.. Usually Google+ or Facebook. They need to sync from time to time and that's why they wake your phone from sleep.
This is my guess. Correct me if someone knows I am wrong.

No notifications over night

I wake up with a blank lockscreen but when I go into Texta, Snapchat, Messenger, Inbox there are new things there.
I am using Greenify but those apps are not hibernated. Doze is on. Could that be it?
xgerryx said:
I wake up with a blank lockscreen but when I go into Texta, Snapchat, Messenger, Inbox there are new things there.
I am using Greenify but those apps are not hibernated. Doze is on. Could that be it?
Click to expand...
Click to collapse
I've experienced that in my Gmail app.
Even the eSports app.
My OP5 is not rooted.. so far...
Nor do I have any greenify app.. so far...
I'm leaning on thinking it's the Doze.
Yes it is. Have to go into the apps that I have to have notifications for and have them not be optimized. -Settings-Battery-Battery Optimization, then click whichever app I HAVE to have notifications for (Gmail, Hangouts, etc) and then make them not be optimized. I have never had this issue on any other phone so it must be OxygenOS. It will even get rid of notifications that have been showing. I have seen Gmail notifications disappear on many occasions as I am looking at the notification. I have searched the OnePlus forums and this apparently has been an issue in OOS for QUITE awhile. I am AMAZED it is still an issue. OOS even prevents my weather app from showing notifications initially until I go in and have the OS not optimize app. I use Today Weather. Again... BAFFLING that this is still an issue... And I have seen NO ONE until you mention it in this forum....
---------- Post added at 05:11 AM ---------- Previous post was at 05:08 AM ----------
By the way I am using xXx No Limits 2.4. I have used FreedomOS and stock. I don't remember it EVERY working correctly on my OnePlus 5.
thevirgonian said:
Yes it is. Have to go into the apps that I have to have notifications for and have them not be optimized. -Settings-Battery-Battery Optimization, then click whichever app I HAVE to have notifications for (Gmail, Hangouts, etc) and then make them not be optimized. I have never had this issue on any other phone so it must be OxygenOS. It will even get rid of notifications that have been showing. I have seen Gmail notifications disappear on many occasions as I am looking at the notification. I have searched the OnePlus forums and this apparently has been an issue in OOS for QUITE awhile. I am AMAZED it is still an issue. OOS even prevents my weather app from showing notifications initially until I go in and have the OS not optimize app. I use Today Weather. Again... BAFFLING that this is still an issue... And I have seen NO ONE until you mention it in this forum....
---------- Post added at 05:11 AM ---------- Previous post was at 05:08 AM ----------
By the way I am using xXx No Limits 2.4. I have used FreedomOS and stock. I don't remember it EVERY working correctly on my OnePlus 5.
Click to expand...
Click to collapse
When I woke up and saw them missing for the 3rd day in a row, I did the same thing as you actually. I am also on xXx ROM. Maybe that's the reason? I didnt have this problem when I was flashing stock updates instead of the ROM updates for 4.5.x, etc.
xgerryx said:
When I woke up and saw them missing for the 3rd day in a row, I did the same thing as you actually. I am also on xXx ROM. Maybe that's the reason? I didnt have this problem when I was flashing stock updates instead of the ROM updates for 4.5.x, etc.
Click to expand...
Click to collapse
Hmmmm...so you flashed stock updates to xXx?
thevirgonian said:
Hmmmm...so you flashed stock updates to xXx?
Click to expand...
Click to collapse
Clean flashed xXx of course. But dirty flashed the Stock OTA updates.

Rcs services draining too much battery

Anyone else has this problem?
santr33 said:
Anyone else has this problem?
Click to expand...
Click to collapse
Yeah i also facing that
Me too facing this issue, it drains more than 20% of the battery. Feeling like cheated after updating to 8.0
Yes me too facing same. Its basically Android System sometimes renamed rcs service.
But on nougat we were not facing this issue.
Any fixes.?
This is just a bug in the charts. not draining any battery. Same goes for Bluetooth did a test last night connecting the bt with 50% battery left and this morning the charts shows like 4000000 mAh obviously way more than the battery itself
Gadox said:
This is just a bug in the charts. not draining any battery. Same goes for Bluetooth did a test last night connecting the bt with 50% battery left and this morning the charts shows like 4000000 mAh obviously way more than the battery itself
Click to expand...
Click to collapse
Can you share screenshot please.
I have this the first day of Oreo. Did a factory reset and till now no issues..
Venkatesh55 said:
Can you share screenshot please.
Click to expand...
Click to collapse
Here is an example with 80% battery left
https://photos.app.goo.gl/UhWApDWWFRJoSEJM2
I don't think it's just bug in the chart, screen on time has reduced by around 1 hour after update.
I had filed bug report for this and I got solution that "Settings -> Google -> App preview messages and turn it of" and it did work.
ref.
http://en.miui.com/thread-1431056-1-1.html
---------- Post added at 10:51 PM ---------- Previous post was at 10:49 PM ----------
Venkatesh55 said:
Yes me too facing same. Its basically Android System sometimes renamed rcs service.
But on nougat we were not facing this issue.
Any fixes.?
Click to expand...
Click to collapse
Settings -> Google -> App preview messages and turn it off
Ppfawade said:
I had filed bug report for this and I got solution that "Settings -> Google -> App preview messages and turn it of" and it did work.
ref.
http://en.miui.com/thread-1431056-1-1.html
---------- Post added at 10:51 PM ---------- Previous post was at 10:49 PM ----------
Settings -> Google -> App preview messages and turn it off
Click to expand...
Click to collapse
Will try. thank you
Ppfawade said:
I had filed bug report for this and I got solution that "Settings -> Google -> App preview messages and turn it of" and it did work.
ref.
http://en.miui.com/thread-1431056-1-1.html
---------- Post added at 10:51 PM ---------- Previous post was at 10:49 PM ----------
Settings -> Google -> App preview messages and turn it off
Click to expand...
Click to collapse
Didn't work for me.Still Rcs wins the race..lol
There is some mess in stats, RCS contains many processes/packages, among them also Android system. This is why we don't see Android system anymore, but RCS instead. It must be fixed by Xiaomi.
Venkatesh55 said:
Didn't work for me.Still Rcs wins the race..lol
Click to expand...
Click to collapse
RCS or Phone?
Icon shows RCS but app name is Phone.
Maybe both are part of same app but different services. If this is the case everyone has this problem or maybe its not a problem at all.
RCS stand for "Rich Communication service" wherein both calling parties are aware of each others presence and device capabilities etc. and your carrier shall also support this.
Factory reseted the phone and turned off app preview messages still rcs service is present.?
After turning off app preview messages RCS service is not longer present. Thanks buddy!!
---------- Post added at 01:16 PM ---------- Previous post was at 01:08 PM ----------
_mysiak_ said:
There is some mess in stats, RCS contains many processes/packages, among them also Android system. This is why we don't see Android system anymore, but RCS instead. It must be fixed by Xiaomi.
Click to expand...
Click to collapse
I don't think so. Mine was showing both Android system and RCS service. After turning off that option RCS service gone away.
ojetepicor said:
I don't think so. Mine was showing both Android system and RCS service. After turning off that option RCS service gone away.
Click to expand...
Click to collapse
I still think so, on mine phone, in Gsam battery, RCS Phone consumes the most battery and one of its packages is Android system. But you are right that RCS Service is gone and I don't have always running stock messaging app anymore (I'm using Textra due to nasty bug of stock messaging app when it doesn't show and store random incoming SMS messages).
This is a bug with Google play services. If you turn off background data for Android system it will start showing up as RCS service in battery usage instead of Android system. Looks more like a problem with Android 8.0. Google play services with same version on Android 7 is not causing as much battery drain.
Let's wait for Android 8.1 with Jan security patch.
Update to latest January patch. Android system is not draining as much battery now.
Problem turned out after march security update. I have tried to turn off app message preview but it doesn't work.

Categories

Resources