Question I can't receive notifications on my Xiaomi K40 smartphone - Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40

Hi guys,
I recently bought the new Xiaomi K40 Gaming smartphone.
MIUI version: 12.5.8
Android 11
I am still setting it up, but one of the things I can't get to work are the notifications.
I am not receiving notifications from my apps (Twitter, YouTube, Yahoo mail, gmail, facebook, Fotmob etc)
Even if I get notifications they come only when I open the app or in some rare cases when I leave the app open under my menu/recents
- I have trippled checked and the apps are set to give notifications.
- I have set the app to autostart.
- I also made sure that battery saver for the app is on "No restriction"
- I have cleared cache severally, restarted the phone so many times
- Uninstalled and reinstalled the app
Yet I am still not getting consistent notifications.
Can anyone help me troubleshoot this
Note: I didn't perform any extra setting and I wasn't having any problems with notifications on my previous phone - Huawei Nova 2 Plus.

Please can anybody help me

Ezugov2008 said:
Please can anybody help me
Click to expand...
Click to collapse
As far as I remember, you need to disable battery optimization in general or for the app.
Sadly I don't remember the specifics but that should be easy to explore online.

make sure battery saver is off as well even though you no restrictions if battery saver is on it will over rule that and keep things from running the BG like if the battery falls below 90% if you enable developer options make sure background running apps is set to standard limit and if that still don't work install a custom rom like Arrow my favorite..

The Marionette said:
As far as I remember, you need to disable battery optimization in general or for the app.
Sadly I don't remember the specifics but that should be easy to explore online.
Click to expand...
Click to collapse
I have done this and I am still not getting notifications

I am having the same problem and I turned everything did all that need to be done and still nothing did you get a solution for this

Same here , notifications only appear when i open the app , i mean what kind of battery saving or optimization which silence messaging notifications without a clear option toggle , if there is anything lead to preventing notifications MIUI should made it clear for the user .. so frustrating

Try in settings / accounts and notifications / Automatic data sync

Related

Delayed Whatsapp notifications

So I've been having this issue for quite some time, but i guess i got used to it so it didn't pose much of a problem untill now. All of my Whatsapp messages are delayed when screen off and WiFi on, and they come through from 2-4 all the way up to 20+ min after they are sent. As soon as i turn screen on, they pop up on screen.
I assumed that it was due to greenifys rigorous doze settings, so i uninstalled it. Some threads suggested Titanium backup may be culprit, so i uninstalled it too. I also added Whatsapp to battery optimization whitelist and ticked on run in background and unrestricted data usage, but with no success, and also completely reinstalling Whatsapp.
I even reflashed stock pie and oreo, but same thing happens. I suspected that deep sleep might be interfering with cloud messaging services, but even on stock pie device enters deep sleep even with WiFi on in minutes after screen off, so im pretty confused with it all.
I am running Pie v10.0.9.0.PLDMIXM with magisk, busybox, xposed, substratum, gravitybox installed. Apart from that there are no other apps interfering with the system whatsoever.
Any help would be much appreciated.
CrimosUmbro said:
So I've been having this issue for quite some time, but i guess i got used to it so it didn't pose much of a problem untill now. All of my Whatsapp messages are delayed when screen off and WiFi on, and they come through from 2-4 all the way up to 20+ min after they are sent. As soon as i turn screen on, they pop up on screen.
I assumed that it was due to greenifys rigorous doze settings, so i uninstalled it. Some threads suggested Titanium backup may be culprit, so i uninstalled it too. I also added Whatsapp to battery optimization whitelist and ticked on run in background and unrestricted data usage, but with no success, and also completely reinstalling Whatsapp.
I even reflashed stock pie and oreo, but same thing happens. I suspected that deep sleep might be interfering with cloud messaging services, but even on stock pie device enters deep sleep even with WiFi on in minutes after screen off, so im pretty confused with it all.
I am running Pie v10.0.9.0.PLDMIXM with magisk, busybox, xposed, substratum, gravitybox installed. Apart from that there are no other apps interfering with the system whatsoever.
Any help would be much appreciated.
Click to expand...
Click to collapse
It's the system power and ram management. That system kills the processes and doesn't allow them to revive for instant notification. Same happens with facebook and facebook messenger, not only watsapp. Instagram does this also. I receive a follow notification on my iPhone and the notification appears on the Mi A2 Lite only after the screen is on and unlocked.
TheoXSD said:
It's the system power and ram management. That system kills the processes and doesn't allow them to revive for instant notification. Same happens with facebook and facebook messenger, not only watsapp. Instagram does this also. I receive a follow notification on my iPhone and the notification appears on the Mi A2 Lite only after the screen is on and unlocked.
Click to expand...
Click to collapse
Oh i see. i totally get that over agressive ram managment, because even with 4 tabs open, it kills them very soon, to a no avail have i tried to fix it, it seems to be rooted issue...
Do you know any possible fix or workaround for this? Maybe to convert these apps to privileged, e.g. system apps or something? There must be some kind of solution for this.
CrimosUmbro said:
Oh i see. i totally get that over agressive ram managment, because even with 4 tabs open, it kills them very soon, to a no avail have i tried to fix it, it seems to be rooted issue...
Do you know any possible fix or workaround for this? Maybe to convert these apps to privileged, e.g. system apps or something? There must be some kind of solution for this.
Click to expand...
Click to collapse
Nope. Some said that this is purely Xiaomi's fault. But no. I have another Allview phone doing the exact same stuff. This may be an unmodified kernel for the said chipset. Companies like Samsung, Sony, HTC etc. may edit that kernel to be more mild, while Xiaomi, to reduce the costs doesn't.

The dreaded Samsung "Android System" Battery Drain

Hi all,
I seem to get this issue with pretty much every single Android Device I've owned in the last 8 years, particularly Samsung ones, and that's the good old "Android System" battery drain.
I have tried everything over the years, except rooting the device, but nothing has ever worked as a permanent fix.
I have tried:
- resetting device
- clearing cache
- restarting phone
- Shutting down background tasks
- Low battery usage location settings
- Deleting apps
- a million other things
But one way or another, Android System will eventually make its way back to the top of my battery usage stats.
I've come to the conclusion that it's the OS itself that's badly coded which causes this.
Has anyone, anyone, ever figured out a way to get on top of Android System battery drain?
lbreak said:
Hi all,
I seem to get this issue with pretty much every single Android Device I've owned in the last 8 years, particularly Samsung ones, and that's the good old "Android System" battery drain.
I have tried everything over the years, except rooting the device, but nothing has ever worked as a permanent fix.
I have tried:
- resetting device
- clearing cache
- restarting phone
- Shutting down background tasks
- Low battery usage location settings
- Deleting apps
- a million other things
But one way or another, Android System will eventually make its way back to the top of my battery usage stats.
I've come to the conclusion that it's the OS itself that's badly coded which causes this.
Has anyone, anyone, ever figured out a way to get on top of Android System battery drain?
Click to expand...
Click to collapse
I'm not sure this effects that, but while setting up phone from a factory reset etc, do you Uncheck the fields that pop up such as analytics, wifi scanning (even while off) and all the other ones ?
I uncheck all the crap i can. It's possible if you leave those checked that could be the culprit a bunch of services running in bckgrd....
Just a guess....but if you say this has happened on all your androids....maybe this is why.
Sent from my [device_name] using XDA-Developers Legacy app
louforgiveno said:
I'm not sure this effects that, but while setting up phone from a factory reset etc, do you Uncheck the fields that pop up such as analytics, wifi scanning (even while off) and all the other ones ?
I uncheck all the crap i can. It's possible if you leave those checked that could be the culprit a bunch of services running in bckgrd....
Just a guess....but if you say this has happened on all your androids....maybe this is why.
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
Yep I un-ckeck all of those fields. Makes zero difference overall (I have tried both ways).
lbreak said:
Yep I un-ckeck all of those fields. Makes zero difference overall (I have tried both ways).
Click to expand...
Click to collapse
That sucks, could it be due to social media apps syncing constantly? Sorry I'm out of ideas....
Sent from my [device_name] using XDA-Developers Legacy app
Ibreak, maybe the problem is caused by apps sending reports and analytics via google services, samsung related stuff always sends analytics, even if you do not facebook, the damned thing is always lurking and consuming resources, google app and chrome also are resources-hoarders, I use ccswe to disable all useless firebase, crash, analytics, ad listeners, campaign trackers, components and some boot listeners within many apps
lbreak said:
Hi all,
I seem to get this issue with pretty much every single Android Device I've owned in the last 8 years, particularly Samsung ones, and that's the good old "Android System" battery drain.
I have tried everything over the years, except rooting the device, but nothing has ever worked as a permanent fix.
I have tried:
- resetting device
- clearing cache
- restarting phone
- Shutting down background tasks
- Low battery usage location settings
- Deleting apps
- a million other things
But one way or another, Android System will eventually make its way back to the top of my battery usage stats.
I've come to the conclusion that it's the OS itself that's badly coded which causes this.
Has anyone, anyone, ever figured out a way to get on top of Android System battery drain?
Click to expand...
Click to collapse
Enable Developer option
then go Settings» Developer options» running services
Here you should see a bunch of services running. A number of them should fall under Android System, close all related to Android System (it is ok to do so)
Then under Google Play services close all (well two of those services are persistent so they will auto start back in a couple seconds, lockscreeen service and Google location service), nothing you can do about this other than to disable Google play services which would then cause a lot of apps to cry like pandora, samsung internet browser, play store, YouTube etc.
Then go settings» apps» 3 dots at upper-right hand corner» show system apps» android system» battery» disable background activity
On each restart Android system background activity will be automatically enabled so just disable it on each restart.
The thing is it could be a number of apps or services that is causing the issue through Android system but a good indicator of which app might be causing your issue is to check Android system memory which is right below background activity, there it should show which app is accessing the memory through it the most. Disable that app or clean its cache/data.
lennie said:
The thing is it could be a number of apps or services that is causing the issue through Android system but a good indicator of which app might be causing your issue is to check Android system memory which is right below background activity, a.
Click to expand...
Click to collapse
Thanks lennie,
How do I check this?
lbreak said:
Thanks lennie,
How do I check this?
Click to expand...
Click to collapse
It's in the same place you'd find background activity, but instead of going to battery, go to memory.
settings» apps» 3 dots at upper-right hand corner» show system apps» android system» memory
At the top above average memory usage you should see the app.
I would recommend using a package disabler (ccswe from the play store or package disabler pro from their website)
You can disable a lot of things but DO NOT disable
boot agent (could lock your phone in bootloop)
Android system (could hand your phone on boot up)
One UI (unless you have a different launcher installed and enabled)
IMS is important too
There's one more I can't remember right now, but you get the idea.
If you're not too sure if something can get disabled with no harsh side effects then just post the question
settings» apps» 3 dots at upper-right hand corner» show system apps» android system» mobile data
Shows a list of all the apps that have access to the network through Android system, disable the the ones you're sure you're not using or will use. That should shorten the list of potential battery drainer.
Thanks again.
It just shows an app called "face" under Android System memory. I assume that's for face unlock.
Be careful with disabling OneUI, because it will also disable the task manager and you'll got a really ugly one instead.
lbreak said:
Thanks again.
It just shows an app called "face" under Android System memory. I assume that's for face unlock.
Click to expand...
Click to collapse
Yeah that's for face unlock. I used to use it but since the fingerprint scanner update it has been working really well with my screen protector so I don't really need it anymore so I have it disabled.
If you don't use face.
How i use my phone to maximize my battery is simple. Things I don't use or need I keep them disabled, some I simply disable until I need them like the play store or galaxy store etc. Every other day or so I would check those apps to see if there is an update I might want to install.
lennie said:
Yeah that's for face unlock. I used to use it but since the fingerprint scanner update it has been working really well with my screen protector so I don't really need it anymore so I have it disabled.
If you don't use face.
How i use my phone to maximize my battery is simple. Things I don't use or need I keep them disabled, some I simply disable until I need them like the play store or galaxy store etc. Every other day or so I would check those apps to see if there is an update I might want to install.
Click to expand...
Click to collapse
I only use the fingerprint sensor, but it's still shows (only) Face there. Any idea?
There's really no fix to Android System drain, it's especially worse when you're on mobile data.

Battery Advanced Settings

Digging around the battery settings I noticed there was a option for Auto optimization and Optimize settings. Has anyone had these options enabled? If so, have they been working correctly with no issues?
Back in August and September, many users (me included) complained about not getting notifications about mails, whatsapp, etc, and the reasons were precisely the settings regarding these optimizations and battery savings, look for these topics over here
dia_naji said:
Digging around the battery settings I noticed there was a option for Auto optimization and Optimize settings. Has anyone had these options enabled? If so, have they been working correctly with no issues?
Click to expand...
Click to collapse
I use it and I have great battery performance with notifications and sync working great, one thing you need to have in consideration is that enabling that options most of your apps will stop receiving push notifications BUT the solution is to "exclude" each app and voila!
The auto optimization is pretty nice, cleans out all the junk files on your phone. The optimize settings feature I have no idea what it does and it's incredible they added this feature with that extremely vague description.
dia_naji said:
Digging around the battery settings I noticed there was a option for Auto optimization and Optimize settings. Has anyone had these options enabled? If so, have they been working correctly with no issues?
Click to expand...
Click to collapse
i agree with @winol post , in general .
Be careful ,when enabling auto optimization etc .
I've done it a few times and later struggled to
understand why certain apps did not work " properly " .
No notifications ,apps i depend on , put to "sleep" etc .
Messages that certain apps "excessive " battery drain etc .
(which in most cases, was not correct .)
I eventually, turned it off .
Having +- 200 apps ( 3rd party apps ) on device
it is a big hassle to configure each app to it's own.
Having to understand why" this or that app" is not working properly etc
Then finding that auto optimization etc has. closed ,put to sleep ..no, i then decided to
switched it off and configure apps manually .
Overall my stress levels are down and i have control over my apps ( in general)
good luck .

Unable to receive notifications after MIUI 12 Update

Hi all, I updated my rooted note 8 pro to miui 12 through twrp yesterday and all went fine but after some time I realized that I am unable to receive any notification including WhatsApp and outlook email and when i manually open the app, I receive pending messages instantly... so i tried to do some tricks. myself.. I turned off battery saver for it and set it to no restrictions and also turned on auto start option as well but no luck ... issue is still same..
i also tried to turn off adaptive notification in special access section but it didn't help either, also it sets itself to notifications option (2nd option) automatically after i restart my phone.. so , anybody got a clue what should i do for it as it is so important for me to get all notifications instantly... Thankyou
i have Indonesian rom installed in my phone in case it matters..
Did you reboot after turning on auto start? Also try setting the notification priority to high or locking the apps in app manager.
UsuallyIncorRekt said:
Did you reboot after turning on auto start? Also try setting the notification priority to high or locking the apps in app manager.
Click to expand...
Click to collapse
Of course I rebooted many times and notifications already set to high priority by default but still I am unable to get notifications.
Did you lock the apps with app manager and set battery optimizations to no restrictions?
UsuallyIncorRekt said:
Did you lock the apps with app manager and set battery optimizations to no restrictions?
Click to expand...
Click to collapse
I have already set battery optimization to no restrictions , don't know how to lock the app with app manager.. please elaborate if that makes a difference

Whatsapp and gmail notifications don't arrive

Good morning. I set to remove energy saving for this apps but the same problem. Upon i open the app, the notifications don't arrive. When open apps, i found all notifications. The vodeo in whatsapp remain to download even if i set to "automatic".
Is possible to solve? i already reset many times to default....
thanks
myabc said:
Good morning. I set to remove energy saving for this apps but the same problem. Upon i open the app, the notifications don't arrive. When open apps, i found all notifications. The vodeo in whatsapp remain to download even if i set to "automatic".
Is possible to solve? i already reset many times to default....
thanks
Click to expand...
Click to collapse
Strange... Should work.
Please check again in settings - battery and device care - battery - background usage limits - never sleeping apps.
Add all apps you want to keep running in background (e.g. WhatsApp).

Categories

Resources