App notifications + Wifi? Some answers some questions

b3ava

Senior Member
Jul 4, 2011
92
7
0
So I have stumbled across a bug that is rather frustrating. This bug was that I could not receive notifications in "real time"( if that makes sense) basically I mean very delayed. A fellow XDA member pointed me out to a thread that has a solution for this which goes as follows:
Settings-> Additional settings->Battery& performance -> Manage apps battery use->chose apps.
After that its pretty straight forward.

My current problem is that I still get delayed notifications in Wi-Fi. I have tested this out on about 10 different Wi-Fi networks. I am sure this is some stupid MiUi setting hidden somewhere making the phone go in a deep sleep state or a battery mode or something..

Before people start recommending installing CM, I am not interested in it, until CM bugs are fixed, Also this is not a solution that answers my question.

I hope the solution above has helped other people as it has for me, for the Wi-Fi issue any thoughts or suggestions are more than welcome.. (Haven't tried the IPV4 thingie I read in XDA but that doesnt seem like a solution that I can apply when I am at someone elses house or out =/ )
 

rob rich

Senior Member
Jan 18, 2013
1,892
1,267
0
Kronach
About the notifications problem

I don't know if we are talking about the same issue, but I have seen delayed notifications on many phones and Android versions in the past. Also, the web is full of forums and sites where people complain about this. I think this is more a Google Cloud Messaging bug than a Xiaomi or Miui bug.

Maybe the people here suffering from this issue can try this app

https://play.google.com/store/apps/details?id=com.andqlimax.pushfixer

Helped me in the past. You can chance the heartbeat of your internet connection to keep it alive.
I can't say if i have this issue because i didn't got much notifications in the last days. At least i didn't noticed something. Also my banking app notifies me immediately when i do banking stuff or pay somewhere.

Also, the people who gets disconnected when they turn off the screen on Miui, there is a setting in the security app under battery profiles which says by default "clear on lockscreen". Maybe making an own profile with a different setting helps here :)
 
  • Like
Reactions: Flaxe and b3ava

b3ava

Senior Member
Jul 4, 2011
92
7
0
About the notifications problem

I don't know if we are talking about the same issue, but I have seen delayed notifications on many phones and Android versions in the past. Also, the web is full of forums and sites where people complain about this. I think this is more a Google Cloud Messaging bug than a Xiaomi or Miui bug.

Maybe the people here suffering from this issue can try this app

https://play.google.com/store/apps/details?id=com.andqlimax.pushfixer

Helped me in the past. You can chance the heartbeat of your internet connection to keep it alive.
I can't say if i have this issue because i didn't got much notifications in the last days. At least i didn't noticed something. Also my banking app notifies me immediately when i do banking stuff or pay somewhere.

Also, the people who gets disconnected when they turn off the screen on Miui, there is a setting in the security app under battery profiles which says by default "clear on lockscreen". Maybe making an own profile with a different setting helps here :)
Em this sortof helps.. I get 90% of my notifications on WiFi have no what to change in its settings though:p Any pointers? big thank you though
 

rob rich

Senior Member
Jan 18, 2013
1,892
1,267
0
Kronach
Em this sortof helps.. I get 90% of my notifications on WiFi have no what to change in its settings though:p Any pointers? big thank you though
In what settings? Security app or Push Notification Fixer app (in this app you just have to hit "apply settings" and reboot)
 

b3ava

Senior Member
Jul 4, 2011
92
7
0
In what settings? Security app or Push Notification Fixer app (in this app you just have to hit "apply settings" and reboot)
The "heartbeat interval" in the root -push notification fixer app :p I have no clue what that is or what happens if you increase or decrease it:p
 

antony84

Senior Member
Nov 7, 2014
168
9
0
I read about "heartbeat interval", but if the problem is it, notification should not work correctly even when screen is on. While it seems here we are speaking when the screen is off, right?

---------- Post added at 10:58 AM ---------- Previous post was at 10:53 AM ----------

I made some research, and i wrote all settings that could be interesting. I write them here just to be sure all settings was checked.

These settings should be adjusted, besides your pushing apps (wapp, facebook,etc.), even for:
- Google Services Framework
- Google Account Manager
- Google Play services
- Google Play Store

Code:
1.Goto Security->Permissions->Autostart and give autostart permissions to the Google Services Framework,Google Account Manager and your Messaging apps like whatsapp,hike,etc.

2.Goto Security folder>permissions> and give permissions to each apps.

3.Goto Security->Data Usage->Data Usage Stats and Select your app . After that check if background data is enabled. If it is not enabled, enable it

4.Goto Security->Data Usage->Data Saver->Manage Apps and turn off optimization for the messaging apps.

5.Goto Settings>Additional Settings>Battery>Manage app battery usage, now disable/turn off the following options.
	- Manage app battery usage
	- Restrict apps when battery is low
      Or
	- Select "Choose apps to restrict" and unselect/untick the apps from the list
  
6.Goto security folder and click the check button.

7.If you have already opened these apps you will see these apps in the memory tab.
  Click on the memory tab and uncheck these apps and any other apps you desire or you can simply go to recents panel and lock this app by swiping down.

8.Goto settings<security<locatIon<location acces<permissions<messenger<display pop up....

Finally reboot the device and check.

Do you hav adjuested all these checks? If yes, it is clear there is a GREAT bug in MIUI rom, or better miui kernel.
 

mejobloggs

Senior Member
Nov 12, 2010
201
13
0
These settings should be adjusted, besides your pushing apps (wapp, facebook,etc.), even for:
- Google Services Framework
- Google Account Manager
- Google Play services
- Google Play Store
I don't even have any of these options on my Mi4C. For me it looks like all those Google apps are hidden? I can only change permissions or power settings for WhatsApp, can't find Google Services Framework etc

I only get WhatsApp messages reliably if my phone is unlocked and WhatsApp is open. And can only connect to WhatsApp Web if my phone unlocked and WhatsApp open.... Really frustrating.

Keep finding I've missed messages from hours ago cause they never showed up in notifications.

I've done everything here: https://www.whatsapp.com/faq/en/android/20887936
Installed Push Notification Fixer

Still same problem. Must be MIUI bug :(
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone