push notifications issue - OnePlus 3 Questions & Answers

Hey guys weird problem I'm nearly always having this problem on most ROMs
Its like my push notifications don't work after I leave my phone sleep for a certain period of time and then when i unlock my phone after this certain period of time all the notifications from any app comes through.
I know this was a problem that was "supposedly" fixed on a community build but I'm pretty sure it wasn't ,
A lot of people have this problem and unfortunately I'm also one of them.
Its only now its starting to get annoying as I missed an important msg

Is this not a doze issue? You can exclude apps from doze by adding them to the ignore optimisation.
Sent from my ONEPLUS A3003 using Tapatalk

How do you do that I'm on cyanogenmod 14.1

I also have this issue. Disabling Doze fixes it but then battery life becomes poor. I'm currently testing Greenify and its Aggressive Doze mode, but seems that's not a solution...

Not working no matter what I do

Related

Lollipop battery drain system(adsprpcd) media server

After updating to lollipop im getting heavy drain by media server which is named as system adsprpcd by gsam battery monitor . I never got this battery drain in kitkat .
I got this problem in every lolli rom viper sd insertcoin etc . I fixed all files and removed all corrupted files but the issue doesnt solve .
I flashed back viper kitkat rom a few days back and surprisingly kitkat battery was good as is should be no battery drain whatskever. But after comjng back to lolli rom (sd rom now ) the problem again started .
Is it lollipop software ?
Sent from my unknown using XDA Free mobile app
I think it might be nuplayer in developer options just disable it
Muradsikandar786 said:
I think it might be nuplayer in developer options just disable it
Click to expand...
Click to collapse
I have the same problem. I have disabled Nu player from developer options but the problem occurs again.
When I notice in GSam battery that adsprpcd is beginning to drain the battery I reboot the phone and that fixes it for a while.
Does anyone know of a permanent fix?
I have been trying to find answer to this problem. I've had it on ALL lollipop Roms. Aosp, sense, and gpe. It's driving me nuts. I have figured out however that it has nothing to do with nuplayer or Google music. It's something to do with notifications.
In gsam it lists audio on for X hrs, x m, xs. Now if I send myself a text or anything that gives me a notification, that timer starts ticking. If I go back and refresh, the audio on time keeps going up for several minutes before it will stop. But if I clear notification from my notification screen the timer stops immediately. That's what's causing it to show up at the top of gsam. That's the cause. I haven't figured out a solution except clearing the notifications.
I am curious though if this isn't some issue with gsam because bbs does not show anything for that process.
Edit: here's a screenshot
razen_kain said:
I have been trying to find answer to this problem. I've had it on ALL lollipop Roms. Aosp, sense, and gpe. It's driving me nuts. I have figured out however that it has nothing to do with nuplayer or Google music. It's something to do with notifications.
In gsam it lists audio on for X hrs, x m, xs. Now if I send myself a text or anything that gives me a notification, that timer starts ticking. If I go back and refresh, the audio on time keeps going up for several minutes before it will stop. But if I clear notification from my notification screen the timer stops immediately. That's what's causing it to show up at the top of gsam. That's the cause. I haven't figured out a solution except clearing the notifications.
I am curious though if this isn't some issue with gsam because bbs does not show anything for that process.
Edit: here's a screenshot
Click to expand...
Click to collapse
i have same problem as u.. but to me didnt help clear notifications.. i have disablet nu player, voice recognition and after read your post im clearing all time my notifications but adsprpcd is still draining my batt.. but i have all camera on and sound on all time on.. wtf??
im running on ice rom with elementalx kernel on M9..
BLEK0TA said:
i have same problem as u.. but to me didnt help clear notifications.. i have disablet nu player, voice recognition and after read your post im clearing all time my notifications but adsprpcd is still draining my batt.. but i have all camera on and sound on all time on.. wtf??
im running on ice rom with elementalx kernel on M9..
Click to expand...
Click to collapse
Yes. I have since had to change that opinion but never updated my post since no one responded.
Do you by any chance leave your data on 3g only?
Im on LTE still with still turned off wifi but in batt history and gsam batt history is still on..
BLEK0TA said:
Im on LTE still with still turned off wifi but in batt history and gsam batt history is still on..
Click to expand...
Click to collapse
I figured as much. It's still a mystery to me. I've gotten to where I just ignore it. When I see it start showing up at the top of gsam I just reboot. I've no idea what makes it run constantly like that. I'm hoping when I update to mm soon it will go away but I'm not holding my breath
So Wi-Fi is solved.. cuz in settings is in lollipop in Wi-Fi settings default enabled Wi-Fi for location so this is solved for me.
but adsprpcd still comsupt too much batt life .. BTW WTF is audiomix?
BLEK0TA said:
So Wi-Fi is solved.. cuz in settings is in lollipop in Wi-Fi settings default enabled Wi-Fi for location so this is solved for me.
but adsprpcd still comsupt too much batt life .. BTW WTF is audiomix?View attachment 3579628
Click to expand...
Click to collapse
Audio mix is something like a wakelock for when you get a notification I do believe
razen_kain said:
Audio mix is something like a wakelock for when you get a notification I do believe
Click to expand...
Click to collapse
Same problem here. I pulled out my SD card now which I had all my mp3 songs to see if it is the reason for this wakelock. Before that the following screenshots show my situation:
I want to add also that I'm on mm 6.0 (jw version) with xposed installed.
Στάλθηκε από το HTC One M8 μου χρησιμοποιώντας Tapatalk
I also notice this on Lollipop but today I finally found what is causing this wakelock for me: notification about battery saving when I turn on Extreme battery saving. It's weird, but it's true. How I noticed it? Yesterday I read on xda that this wakelock is causing by notifications. After last night, when I always turn on extreme battery saving, I saw that adsprpcd has about 8h, what is exactly same time I was sleeping. I tested it once again: I checked how much time adsprpcd had, then turned on extreme battery saving, turned it off after a minute and again check time - it increased. Because I have Xposed I installed NotifyClean, remove notification about battery saving and repeated test, time didn't increase Adsprpcd can be caused by other notifications I think, I will examine it.
But as mentioned on xda, I don't see really impact on battery by this wakelock, because I lost 1-2% per night, when adsprpcd increase time.

Deep sleep/ background snyc issue or better call it the obstructed of life issue

hey xdamembs,
i have a really strange issue with my htc m8, unlocked since one week with custom rom.
my background snycronisation doesnt seem to work as it should again after having the rom installed for 2-3 days i dont get any messages via whatsapp, etc or mails or anything which needs a internet connection i think. it is not important if i am in the energy saving mode or not, because the same issue appears when i am plugged/docked in an have a stable wifi connection. so it doesnt seem to be related with mobile internet and the ernergysavemode, which stops background sync if you are outside and dont have wifi.
this, i will call it "obstructed" mode, appears to activate itself after 30 minutes to 2 hours after screen off and i can not find any other criteriums to need to activate it. i am using the energy saving mode a lot, but it seems not to influence my "obstruced mode"
i tried several sense roms and this always keeps happening after sometime. so for the first days it functions as it should but today it begun again with obstructing my life
as an side effect my whatsapp messages in groups which i recieve are never sorted by time, really painful to read, trust me you dont wanna try
if anyone has same issues or any clues, helps, fixing ways beside of reflashing (dirty flash???) just let it please know
my phone "setup"
rom: s.team rom latest JW-version
kernel: no custom kernel until now, but elementalx in few days
xposed moduls: amplify, networkspeedindicator, physical button music control, whatsapp tuner, xinsta
no other modificatiosn done until now​
Have you tried uninstalling Amplify? It's pretty much made to suppress wakelocks and would cause the issues you describe.

Android System always higher ?

Guys got my OP3 few days back but what I'm noticing is that after 2-3 days that my Android System is higher then Screen usage which wasn't before. Never facing this kind of drain before on OP3 or on my Nexus 5 that I used to use before. Is there anything unusual? I'm attaching screenshot of better battery stats also please do look into them.
Anyone ?
I had the same issue resulting in terrible battery life since Android System was constantly working the CPU. It's probably due to the Oxygen OS kernel. I sent back my unit and asked for a replacement because I didn't want to install a custom ROM on a brand new phone just yet.
Same issue here, Android System uses more battery than my screen. Also it looks like the phone was awake all night tonight with screen off, so I had more standby drain.
This is most likely due to an app that has a rogue process running in the background constantly keeping gms awake. Try clearing data for the play store and turning off sync for any apps you have. See the drain overnight and report back.
Same problem here... "Android-System" is consuming the highest amount of all my other apps ...
My OP3 has a lifetime of about 6-8 hours ...
Yeah even it's the same for me... Even did a factory reset but didn't help
Sent from my ONEPLUS A3003 using Tapatalk
Facing the same problem. Amplify Forcedoze and Greenify don't help
Turn off the auto sync. I am consistently getting 8hrs SOT. Using LTE and wifi.
Sent from my ONEPLUS A3003 using Tapatalk
nickporwal said:
Turn off the auto sync. I am consistently getting 8hrs SOT. Using LTE and wifi.
Sent from my ONEPLUS A3003 using Tapatalk
Click to expand...
Click to collapse
when you turn off auto sync, does whatsapp still work without having to manually sync every now and then? afaik, most of the social apps rely on this sync to function properly and having to manually sync every time for whatsapp or twitter would defeat its purpose.
sahirhussain said:
when you turn off auto sync, does whatsapp still work without having to manually sync every now and then? afaik, most of the social apps rely on this sync to function properly and having to manually sync every time for whatsapp or twitter would defeat its purpose.
Click to expand...
Click to collapse
Whatsapp doesn't use sync to fetch messages. Sync is for syncing contacts on Whatsapp
guys try disabling ambient mode and see if that lowers the android system drain.
i'm checking it myself on my op3
That does not work for me. I have everything disabled - daydreams, ambient, proximity wake, Google now, now on tap, auto sync, oneplus launcher but android system continues to take up more battery even when the screen is off.
The Opskin package is included in Android system, maybe rendering the ui drains more battery
I think I fixed this by disabling "location" and/or "location determination" (DE: Standortbestimmung)
cruzs said:
I think I fixed this by disabling "location" and/or "location determination" (DE: Standortbestimmung)
Click to expand...
Click to collapse
Nope ... not fixed

Can someone please tell me what's causing my battery drain?

I even broke my phone with App Ops trying to figure it out, disabling wake permissions for most apps which caused FC's and even reboots. I have since restored all permissions but I still get FC's whenever I leave an app or switch out of it. Not sure if it's really crashing, but I get a FC message every time. So much so that Substratum turned off its theming for Files because it "crashed" after every screenshot was successfully uploaded to this post. Btw I just removed CrossBreed Lite and it seems to have helped. So far no reboots doing the same stuff that caused reboots! Not sure why it caused problems though. I used it for a few days with no issues.
Anyway, back to my battery woes. 30-40% kernel system usage. Why is this happening? Even Snapchat which is abusing wake locks is nothing compared to kernel system.
I'm running the latest build of AIM 8.1 with EX Kernel. I have just visited the other thread about tweaking governer values to optimize battery life so I'll report back with results although I doubt that's relevant to my battery drain.
I've Googled quite a bit on the subject and it seems that each case is different. Usually caused by a certain bug, although a lot of people say it's "normal" which I strongly disagree with.
Update: optimizing the CPU has definitely made an improvement, but the kernel battery drain still exists.
Could it really be pick up to wake and wifi search behind the drain? Isn't this phone supposed to have a sensor hub that allegedly allows for all sensors to constantly be on while using minimal power? I never noticed this drain on any other phone with both of these features on.
Anyway, I disabled pick up to wake and I'll start trying to remember to turn off wifi when not in use.
I think you're trying too hard and running a bunch of stuff. The kernal usage looks about right. I wouldn't run Gsam and BBS at the same time. They can fight each other. What makes you think there's a problem? Nothing jumps out at me.
Sent from my [device_name] using XDA-Developers Legacy app
I also can't see anything out of the ordinary, except this one picture where it shows the phone being active while dozing. I don't know how to understand that because I don't use that app, maybe I'm reading it wrong. What does Android's built-in battery monitor show? Is it dozing properly while screen is off? What is your average SOT? Is your mobile signal strong? I'm also using AIM 8.1+EX combination with satisfying results. Is your radio up to date?
maybe Wakelock Detektor or Greenify can help you.
And if you currently have things crashing all the time, start with a factory reset. Much easier to diagnose the cause when the apps aren't doing random stuff.

Notifications Issues

I know this will be almost impossible to solve with suggestions, but some of my notifications don't come through until I unlock my phone. Most notably WhatsApp. I've turned off all battery optimisation options, removed it from the sleeping apps list, allowed background data and turned off data saver. Still have the same issue.
I have naptime installed so turned that off as well.
What's strange is that a few days ago all my notifications started coming through as normal for a few hours, and then stopped again.
I know the only way to solve this is probably a factory reset, but with loads of tweaks I've gotten it so my battery life is amazing. Leaving it overnight it drains around 3% and depending on how I use it I get around 8h of SOT with 50% battery left so I don't really want to factory reset.
What launcher are you using?
I feel your pain with factory resets.
There needs to be a backup settings to cloud so you can easily restore them after a reset or even a change of phone.
I understand your frustration with this issue, I experimented it as well when I started using my device, back then I did not fully knew about all the battery optimization settings, but, when trying to get all the notifications right, I stumbled upon an app named PNF-no root, which is meant to fix the push notifications from sms, email, whatsapp, etc, I tried so many things, that I honestly can not say if this PNF solved the issue, but in the end my notifications became normal, so, I kept using it, you can give it a try, that is, before you reset your phone, it might help
Do you at least move your phone? Because a lot of apps, to bypass the system's optimisation that put apps to sleep, is that their wake up workaround is gyroscopic based.
That's why WhatsApp and such use a lot the sensor while it has nothing to do about in the first place.
If a battery monitor works for you, you can check that for WhatsApp.
winol said:
I understand your frustration with this issue, I experimented it as well when I started using my device, back then I did not fully knew about all the battery optimization settings, but, when trying to get all the notifications right, I stumbled upon an app named PNF-no root, which is meant to fix the push notifications from sms, email, whatsapp, etc, I tried so many things, that I honestly can not say if this PNF solved the issue, but in the end my notifications became normal, so, I kept using it, you can give it a try, that is, before you reset your phone, it might help
Click to expand...
Click to collapse
Thanks I have installed it and will see if that works.
Nastrahl said:
Do you at least move your phone? Because a lot of apps, to bypass the system's optimisation that put apps to sleep, is that their wake up workaround is gyroscopic based.
That's why WhatsApp and such use a lot the sensor while it has nothing to do about in the first place.
If a battery monitor works for you, you can check that for WhatsApp.
Click to expand...
Click to collapse
Yes I've got it on me all day. It's never left anywhere for extended periods of time.
Nastrahl said:
Do you at least move your phone? Because a lot of apps, to bypass the system's optimisation that put apps to sleep, is that their wake up workaround is gyroscopic based.
That's why WhatsApp and such use a lot the sensor while it has nothing to do about in the first place.
If a battery monitor works for you, you can check that for WhatsApp.
Click to expand...
Click to collapse
Yes I've got it on me all day. It's never left anywhere for extended periods of time.
I've just installed a push notification tester app and my phone goes into doze immediately once I lock my phone and the screen turns off it seems.
If I request a notification, it comes through with the phone unlocked but if I set a delay of a few seconds and lock the phone before it comes through, nothing will happen until I wake my screen up.
Any ideas on how to solve this?
I worked out what the problem was!
I have a VPN that is set to disconnect when my screen turns off to save battery. At the same time I enabled the Android setting that blocks all connections without VPN. Of course when the screen turns off and the VPN disconnects, my phone was blocking all outside connections, hence me not getting any notifications.
Well, I am glad you figured it out

Categories

Resources