[GUIDE] Fix WiFi delayed notifications

archraziel

Senior Member
Feb 23, 2012
268
30
0
SP
After testing and testing, I finally fixed my delayed notifications problems and disconnection problem with apps like webwhatsapp and airdroid

I hope this can help others that have the same problem that I had. I hope this work for everyone.

Steps:

Disable Advanced Battery Optimization: Deep and Sleep

Disable Adaptive Battery

Disable optimize battery for the apps(maybe this isnt needed since I am getting notifications on time from apps that have this enabled)

Run this command via ADB or Android Emulador(this is disabledwhen you restart the phone so you need to run again):
dumpsys deviceidle disable

This is tricky, you may need to root your phone for it. You have to edit the build.prop this is located inside the system folder
Find this 2 lines
ro.vendor.qti.sys.fw.bservice_limit=5 - > I changed it to 120
ro.vendor.qti.sys.fw.bservice_age=5000 -> I changed to 10000

Lock your apps you want to receive notifications(maybe you don't need this)
But go to overview mode, click the 3 dots above the app and choose Lock

I locked my google play service too, just in case
Go to dial, and dial *#*#426#*#* this will open the GCM service(google play service) this is the guy that handles notifications.
After it is open, go to overview, 3 dots and lock it.

Now I have notifications in time, and my webwhatsapp or airdroid never lose the connection because the phone went to sleep mode.
For battery, I must say I did not noticed it got worst in FACT I think it got better, since now I can play(ragnarok eternal) for more time than I was playing before.
 

twinsen.net

Senior Member
Mar 15, 2012
387
69
0
44
Będzin
After testing and testing, I finally fixed my delayed notifications problems and disconnection problem with apps like webwhatsapp and airdroid
I own Oneplus 5, and have similar problem but my notifications does not work at all, until I wake up the device, no matter what.
Have all sleep options OFF, it doesn't help. But I heavily use Goole Pay, so I don't wan't to loose SafetyNet cert.
How can I do this change permanent? I think OnePlus never confessed that they screwed this notifications things up. And I have 8GB of RAM, and they are killing each app...
 

archraziel

Senior Member
Feb 23, 2012
268
30
0
SP
I own Oneplus 5, and have similar problem but my notifications does not work at all, until I wake up the device, no matter what.
Have all sleep options OFF, it doesn't help. But I heavily use Goole Pay, so I don't wan't to loose SafetyNet cert.
How can I do this change permanent? I think OnePlus never confessed that they screwed this notifications things up. And I have 8GB of RAM, and they are killing each app...
Did you try using this app: https://play.google.com/store/apps/details?id=io.github.mobodev.heartbeatfixerforgcm&hl=en

If even that does not work, I am sorry but you will have to root to fix it. I think you can have root and SafetyNet cert, have a look around, it might be possible.