Question Would someone kindly let me know when pocket mode and app / memory / notifications management is fixed? - Xiaomi Poco F5 / Redmi Note 12 Turbo (China)

Hi all,
Just asking a big favour really, as nothing else comes close to the specs I want I'd like to purchase a poco f5 again once these three issues are fixed:
Pocket mode not working
Memory management closing apps after a little while (despite being locked, set not to close, no power restrictions etc). Even play music app was being killed and Chromecast controls constantly...
Notifications delayed massively again despite the same changes as above point. 15-20+ minute delays.
Ps. I tried debloating and changing every setting I could find. I believe issue is due to MIUI powerkeeper dameon but removing that removes ability to set battery saving on apps at all.
Many thanks in advance.

LaurenceGough said:
Hi all,
Just asking a big favour really, as nothing else comes close to the specs I want I'd like to purchase a poco f5 again once these three issues are fixed:
Pocket mode not working
Memory management closing apps after a little while (despite being locked, set not to close, no power restrictions etc). Even play music app was being killed and Chromecast controls constantly...
Notifications delayed massively again despite the same changes as above point. 15-20+ minute delays.
Ps. I tried debloating and changing every setting I could find. I believe issue is due to MIUI powerkeeper dameon but removing that removes ability to set battery saving on apps at all.
Many thanks in advance.
Click to expand...
Click to collapse
And where did you experience all of those?
1. Pocket mode in recent Xiaomi devices are might not correctly working because of virtual proximity sensor I believe, cmiiw.
2. If you tried to keep a lot of apps running, of course some might have to be killed or put in a sleep state. You can't keep all the apps keep running in background.
3. This is the direct result from point above. Do note, apps use various method of receiving notifications, some rely on google service (mostly google apps, I believe this is most battery friendly way) while some manage the notifications themselves (this requires the app to be kept running in background, or occasionally given a queue by OS+kernel to be awaken periodically to receive the notifications)
tl;dr: if you want every apps to be as responsive as possible, you have to have a bigger ram and non stop power supply (not running in a battery)

x3r0.13urn said:
And where did you experience all of those?
1. Pocket mode in recent Xiaomi devices are might not correctly working because of virtual proximity sensor I believe, cmiiw.
2. If you tried to keep a lot of apps running, of course some might have to be killed or put in a sleep state. You can't keep all the apps keep running in background.
3. This is the direct result from point above. Do note, apps use various method of receiving notifications, some rely on google service (mostly google apps, I believe this is most battery friendly way) while some manage the notifications themselves (this requires the app to be kept running in background, or occasionally given a queue by OS+kernel to be awaken periodically to receive the notifications)
tl;dr: if you want every apps to be as responsive as possible, you have to have a bigger ram and non stop power supply (not running in a battery)
Click to expand...
Click to collapse
I appreciate your help but this phone does have a proper proximity sensor, it's just not used in the software correctly for some reason. HW tests pass ok . I wouldn't have purchased this phone otherwise, I've had the misfortune of owning devices with the virtual one... Ugh... Never again.
Understood but the 12GB is not being fully used. If you remove power restrictions from these apps they should remain in memory and running in the cached / background state. Xiaomi powerkeeper which is in addition to the stock Android ROM appears to be closing apps regardless. All xiaomi cleaning or clearing options are disabled.
Indeed the applications in question are using Google's cloud messaging notification systems and it isn't an issue on aosp based ROMs on other phones even others in the house at the same time on the same network (doze active or not), but these custom ROMs aren't available for this phone yet.
I'd have probably kept it if the pocket mode worked but I draw the line at my phone dialing emergency numbers when locked in my pocket which happened within two days of ownership. In testing pocket mode didn't work correctly at all, seems others have the same problem.
Thanks though

LaurenceGough said:
I appreciate your help but this phone does have a proper proximity sensor, it's just not used in the software correctly for some reason. HW tests pass ok . I wouldn't have purchased this phone otherwise, I've had the misfortune of owning devices with the virtual one... Ugh... Never again.
Understood but the 12GB is not being fully used. If you remove power restrictions from these apps they should remain in memory and running in the cached / background state. Xiaomi powerkeeper which is in addition to the stock Android ROM appears to be closing apps regardless. All xiaomi cleaning or clearing options are disabled.
Indeed the applications in question are using Google's cloud messaging notification systems and it isn't an issue on aosp based ROMs on other phones even others in the house at the same time on the same network (doze active or not), but these custom ROMs aren't available for this phone yet.
I'd have probably kept it if the pocket mode worked but I draw the line at my phone dialing emergency numbers when locked in my pocket which happened within two days of ownership. In testing pocket mode didn't work correctly at all, seems others have the same problem.
Thanks though
Click to expand...
Click to collapse
Regarding about the proximity sensor, I need a confirmation from any owner of this device because it's failed to be mentioned by any reviews. Though elliptic labs didn't mention any Poco F5 and GSMArena might not properly mentioned it (their site mentioned Poco F4 not having a virtual one, while it does use one). Elliptic labs isn't the only one that supply such technology too. Please take a look in an app such "device info hw", see if it's reported as elliptic labs or Xiaomi sensor.
You could try Xiaomi.eu rom if you have already unlocked, though doubtful it will resolve the issue. Or you could try turning off MIUI optimization to see if that can turn off the aggressive doze on google service.

x3r0.13urn said:
Regarding about the proximity sensor, I need a confirmation from any owner of this device because it's failed to be mentioned by any reviews. Though elliptic labs didn't mention any Poco F5 and GSMArena might not properly mentioned it (their site mentioned Poco F4 not having a virtual one, while it does use one). Elliptic labs isn't the only one that supply such technology too. Please take a look in an app such "device info hw", see if it's reported as elliptic labs or Xiaomi sensor.
You could try Xiaomi.eu rom if you have already unlocked, though doubtful it will resolve the issue. Or you could try turning off MIUI optimization to see if that can turn off the aggressive doze on google service.
Click to expand...
Click to collapse
The phone got real proximity sensor. Verified by waving hands over the sensor and placing the phone stationary. The position of the sensor is in top right corner where the signals are shown in ui.

ThanveerAliSayed said:
The phone got real proximity sensor. Verified by waving hands over the sensor and placing the phone stationary. The position of the sensor is in top right corner where the signals are shown in ui.
Click to expand...
Click to collapse
An easier way to check for the future is just to use another camera to check for emitted IR light when the screen is turned on.

LaurenceGough said:
Hi all,
Just asking a big favour really, as nothing else comes close to the specs I want I'd like to purchase a poco f5 again once these three issues are fixed:
Pocket mode not working
Memory management closing apps after a little while (despite being locked, set not to close, no power restrictions etc). Even play music app was being killed and Chromecast controls constantly...
Notifications delayed massively again despite the same changes as above point. 15-20+ minute delays.
Ps. I tried debloating and changing every setting I could find. I believe issue is due to MIUI powerkeeper dameon but removing that removes ability to set battery saving on apps at all.
Many thanks in advance.
Click to expand...
Click to collapse
I have the chines' model .
for notification : just disable com.miui.powerkeeper by typing the below in CMD command ( plz search for method)
pm disable-user --user 0 com.miui.powerkeeper
and you will receive the notification instantly for all apps .
Note: make sure to unoptimized the apps from battery optimization

LaurenceGough said:
An easier way to check for the future is just to use another camera to check for emitted IR light when the screen is turned on.
Click to expand...
Click to collapse

I wonder if the Note 12 Turbo has the same problem. That had been out for quite a few months before this phone... I see the Note 12 Turbo Chinese firmware just had an update today.
fal4fal said:
I have the chines' model .
for notification : just disable com.miui.powerkeeper by typing the below in CMD command ( plz search for method)
pm disable-user --user 0 com.miui.powerkeeper
and you will receive the notification instantly for all apps .
Note: make sure to unoptimized the apps from battery optimization
Click to expand...
Click to collapse
Indeed I think this is the problem, I did pop this in my first post " I believe issue is due to MIUI powerkeeper daemon but removing that removes ability to set battery saving on apps at all.".
So yeah, it prevents you from using battery saving modes at all on the apps you don't use often .
Thanks though.

Related

Delayed Notifications In Android P

First off, I disabled adaptive battery in Android P. Ever since the upgrade from 8 to 9, I noticed that notifications are right around 5 minutes late. I have a couple time-sensitive apps that I need notifications right away. Gmail and another app for my home automation. In Android 8, the were flawless. However, ever since going to 9, not so much.
I also noticed that when I delete messages in the gmail app for gmail and an IMAP email server I have it does nothing with the messages on the server. I login to webmail from a computer and the messages are still in the Inbox.
Anyone have any ideas? I am going to try a wipe again to see if it resolves the issues, but I am out of ideas. I had the above issues in Android 9 beta as well. I would downgrade and it fixed them.
I have the same thing and it turns out it is a common issue with Pie. I have not found a solution yet. I have read all kinds of things people have tried and nothing seems to help. Sorry that I can't be more positive. Hopefully Google will figure something out and fix in an update.
Here is a two page post I started about the issue but there are also many others online describing the same thing:
https://forums.androidcentral.com/android-pie/904647-notifications-delayed-stopped.html
My thought is that the delayed notifications are due to Android Pies implementation of adaptive battery. Maybe try excluding the apps you want to receive notifications from in a timely manner?
Sent from my Pixel 2 XL using XDA Labs
You don't happen to have data saver in the quick tiles turned on by accident do you? That does prevent notifications from getting pushed. Both my parents had this on and a bunch of notifications came through after turning it off. I made sure to remove it from even being an available option.
Sent from my Pixel 2 XL using Tapatalk
been fighting with this issue as well, but it only seems to be gmail, and a couple other apps, my sms notifications seem to come through fine, at least as far as I can tell. I've turned off adaptive battery etc, nothing seems to make a difference. sometimes i can turn my screen on and all the notifications will come flooding in, other times they come through 10ish min later.
yes i have also these issue
and i opened thread on these https://forum.xda-developers.com/pixel-2-xl/help/gmail-sync-problems-pie-t3839357
also i tried many apps, but instead of gmail but yet i didn't find any solution
Triscuit said:
My thought is that the delayed notifications are due to Android Pies implementation of adaptive battery. Maybe try excluding the apps you want to receive notifications from in a timely manner?
Sent from my Pixel 2 XL using XDA Labs
Click to expand...
Click to collapse
Thanks for the suggestion but that is one of the first things I tried. No difference.
EeZeEpEe said:
You don't happen to have data saver in the quick tiles turned on by accident do you? That does prevent notifications from getting pushed.
Sent from my Pixel 2 XL using Tapatalk
Click to expand...
Click to collapse
Made sure it was off early on. No change.
The best way to describe my issue is that once the screen times out and has been off for at least about 5 minutes, notification sounds are delayed. It is sort of like the phone goes into a deeper sleep or something and then the problem arises. As soon as I use my fingerprint to wake the phone, all notifications blast through.
The delay can vary. Sometimes it is only 15 minutes or so, but often it is much longer. It is almost like once in a while an app wants to call home or something and to do so wakes up the phone just enough to allow some notifications through.
There also seem to be some issues with individual apps and notifications that may be fixed when a developer updates their app for Pie. For example, most apps notify immediately when the screen is on or within that first 5 minutes or so after the screen goes off. But since installing Pie, Kuna always has a delay of 5 to 10 minutes before notifying. Kuna does this 100% of the time. In fact if I have the phone awake, looking at the screen when walking out the front door, when the motion sensor is triggered, immediately there is a notification icon. But the sound notification is always delayed. This seems like an issue with Kuna and they are well know for being very slow with updates and fixes but eventually they do fix things. But the notification sound delays described in this thread do indeed seem like a system issue with Pie. Hopefully enough people will have the issue that Google will figure it out and fix.
I am having same issues after updating to Android P. At first, notifications came late about 5 min, but then they started to vary some coming in 15-30 minutes later. Can't figure out what is causing the time difference but either way I can't find a fix. I spoke with Google support and they had no fix as well.
sammys8 said:
I spoke with Google support and they had no fix as well.
Click to expand...
Click to collapse
Did Google give you any indication they were aware of the issue and trying to fix?
Will_T said:
Did Google give you any indication they were aware of the issue and trying to fix?
Click to expand...
Click to collapse
Nope, they didn't mention anything about existing issues or being aware of the issue.
Any one found any solutions or fixes? I feel like my notifications are becoming even more delayed now and have also realized I'm not getting a lot of various notifications at all (through many different apps).
I am guessing you all are aware of this, and have tried, however I just found this recently and thought I would share for anyone that doesn't know.... Settings > Apps and Notifications > Advanced > Special App Access ..... Lots of options here with one of them being battery optimization for individual apps. After I upgraded to P, hardly any of my frequently used apps were given full battery use. Haven't played with all the other options there, however just granting apps full battery seemed to help me out.
3yoders said:
I am guessing you all are aware of this, and have tried, however I just found this recently and thought I would share for anyone that doesn't know.... Settings > Apps and Notifications > Advanced > Special App Access ..... Lots of options here with one of them being battery optimization for individual apps. After I upgraded to P, hardly any of my frequently used apps were given full battery use. Haven't played with all the other options there, however just granting apps full battery seemed to help me out.
Click to expand...
Click to collapse
Just updated some settings, now we wait and see if these buried settings fix my delays.. here's to hoping! :good:
3yoders said:
I am guessing you all are aware of this, and have tried, however I just found this recently and thought I would share for anyone that doesn't know.... Settings > Apps and Notifications > Advanced > Special App Access ..... Lots of options here with one of them being battery optimization for individual apps. After I upgraded to P, hardly any of my frequently used apps were given full battery use. Haven't played with all the other options there, however just granting apps full battery seemed to help me out.
Click to expand...
Click to collapse
One of the first things I tried was giving full useage, (no battery optimization) for all apps that I want notifications from. Did not help. Many other apps are still being optimized. I thought I had previously found a way to turn off all battery optimization but because I do have many apps in that list that are being optimized, I obviously did not. Right now I can't find a global setting to turn off battery optimization even though I thought I did before?
So I noticed this morning, that the main app/notification that's super delayed (5-10min after the event should have triggered) it doesn't happen when my phone is plugged in or i have the screen on in my hand. Even after going through all the battery save features and making sure this app is exempt from them, it still happens if the screen is off, or my phone is off the charger. super annoying. wish there was a fix for this already!
pvtjoker42 said:
So I noticed this morning, that the main app/notification that's super delayed (5-10min after the event should have triggered) it doesn't happen when my phone is plugged in or i have the screen on in my hand. Even after going through all the battery save features and making sure this app is exempt from them, it still happens if the screen is off, or my phone is off the charger. super annoying. wish there was a fix for this already!
Click to expand...
Click to collapse
Verizon sent me a replacement because of this problem. I was apprehensive, but got a very nice re-furb. Still have the same problem, but I got a phone that is indicated as Verizon on the LG site. In developer mode, the bootloader unlock button works. I guess everything isn't bad. I sure hope Google straightens this out soon.
pvtjoker42 said:
So I noticed this morning, that the main app/notification that's super delayed (5-10min after the event should have triggered) it doesn't happen when my phone is plugged in or i have the screen on in my hand.
Click to expand...
Click to collapse
This happens only with Gmail on my phone - WhatsApp and Messages send instant notifications. Messages isn't optimized, the other apps are.
I can live with that, no big deal. Perhaps disabling battery optimization for Gmail would fix this, though.
Interesting note: I was talking to YouMail support today about something else but I asked about an issue where I get an email and transcript of a new voicemail but when I go to the YouMail app that voicemail is not shown until I drag down from the top of the screen to refresh the list. Support told me they are aware of this but can not do anything because it is a problem with the "latest Android version causing delay". So it is becoming a more widely known issue and hopefully Google will fix soon.
Thanks for all the feedback. Speaking of delay, I think I have tried just about every fix here and then some and still no luck. Wiping the phone did nothing as well. At this point, I would almost like to revert back to v8 to get this fixed.
I tried this supposed fix, (reply #51). https://forums.androidcentral.com/a...ifications-delayed-stopped-3.html#post6355714
No idea if it worked for me as when you restart the phone you need to do it again and less than 30 minutes after I went through the steps, my Pixel2 got the October update for Pie and required a restart!

"Turn on MIUI Optimizations" - On or Off?

Hi Guys,
I've been having a real hard time with this phone, I am sitting on the MIUI 10 stable global rom at the moment and I was wondering if you guys turn off MIUI optimization at all (in the developer settings) I'm not entirely sure what it does, but toggling it wipes out alot of permissions.
I've got 2 big issues with this phone. the Video Chat mic bug (Which I have seemed to get around by using WhatsApp for video chats)
The other being Android Auto not connecting all the time. I was wondering if maybe because this MIUI optimization is like a task killer that keeps killing stuff in the background?
When I need Android Auto to work, all I have to do is toggle USB Debugging and it fires up right away. Very strange, but it works for now.
Side Note for Xiaomi, Why do you need to lock down the phones like this? Android memory management works great, please don't mess with it. I just don't understand why we have these extra layers of security and permissions. It really messes with any third party apps, what an ordeal it is to get notifications working for example on any third part texting app. I have to go into like 3 different areas and then only sometimes it works. Please leave android alone, it works fine the way it is
I just turned them off. I guess we'll see how it goes.

GBWhatsapp being killed in background even with revelant settings off

The problem: GBWhatsapp, after the phone is locked for a while, gets its bg service killed, making it unable to receive messages (and Whatsapp Web from working) until I turn on the phone and launch it again.
I tried tweaking all revelant settings, as per this guide here from this post , even doing the hold-and-lock-app thing in the recent apps menu. Only thing I couldn't do, due to the setting not being there in MIUI 10, is turning off Memory Optimization.
After checking in the developer options ("Running services") it seems the process does in fact keep working, but the "MessageService" that usually runs is killed.
The problem is not with the GBWhatsapp mod itself, as in my previous Samsung phone it worked with 0 issues. Any idea on what to do? I'm tempted to just make an AutoMate flow that periodically launches GBWA.
filloax said:
The problem: GBWhatsapp, after the phone is locked for a while, gets its bg service killed, making it unable to receive messages (and Whatsapp Web from working) until I turn on the phone and launch it again.
I tried tweaking all revelant settings, as per this guide here from this post , even doing the hold-and-lock-app thing in the recent apps menu. Only thing I couldn't do, due to the setting not being there in MIUI 10, is turning off Memory Optimization.
After checking in the developer options ("Running services") it seems the process does in fact keep working, but the "MessageService" that usually runs is killed.
The problem is not with the GBWhatsapp mod itself, as in my previous Samsung phone it worked with 0 issues. Any idea on what to do? I'm tempted to just make an AutoMate flow that periodically launches GBWA.
Click to expand...
Click to collapse
The same heappend to me. You have to set energy optimization to no restriction and set the app to autostart.
I fell no downside on battery life.
sauliiin said:
The same heappend to me. You have to set energy optimization to no restriction and set the app to autostart.
I fell no downside on battery life.
Click to expand...
Click to collapse
Already done that, still not working, sadly. It was in the linked guide.
(Also not even starting the app when the phone is locked through automate seems to work dammit)
filloax said:
Already done that, still not working, sadly. It was in the linked guide.
(Also not even starting the app when the phone is locked through automate seems to work dammit)
Click to expand...
Click to collapse
Well... Look into notification settings, permission... Give it all. Are you up to date on whatsappgb?
What rom are you using?
Rom is stock MIUI 10, and all notification settings are ok. Also gave it all permissions avaiable, and I downloaded GBWA from the website yesterday since this was a new phone.
same problem in realme phones..not getting online toast feature also..its workng old phones without any pblm..

Android 10 update now force closes all my background apps

Hello everyone, i've been experiencing this problem for a while now: every time i put an app in the background (swipe up on gesture / middle button in traditional), Android immediately closes it for me. I keep seeing in the list of open apps (long swipe up on gesture / square key in traditional) the apps I should have in the background but as soon as I open them it's like I'm starting them for the first time, not saving anything I was doing before. So far i've been able to live with it, but now I can't postpone this problem anymore.
What i tried so far:
Restarted the phone several time
Turned off adaptive battery and battery optimization
Turned off energy saving
Didn't touch anything in the developer settings
And i got another issue probably linked to this one: in the GMail app, the notifications for multiple accounts only works to the account you are viewing, not to the others. (Example: If i'm connected to two accounts, A and B, and i'm viewing B's emails, if i receive an email on A's account the notification won't work. If i receive the email on B's account while i'm viewing A's emails, it won't work either).
Thanks in advance!
EDIT: Just in case you want to know i'm currently on 11.0.5.0 build.
EDIT 2: Link to my reply with a possible solution to the application issue: LINK
As always Android cant reach iOS level Ram management or oems manupilating it.
Same here after the latest update
perfect_ said:
As always Android cant reach iOS level Ram management or oems manupilating it.
Click to expand...
Click to collapse
Xiaomi team for our device is at fault. If you want the best android experience you should buy Pixel phones.
I'm also having this problem. Seems that restart helps a bit for some time but not for long. It is really an awful experience to use the phone like this. Having the 4 GB version.
It's the first time that I'll complain about this phone! But the use is unbearable now! I have the 4gb version too! I hope the next update fixes things
As far as I know, this problem is common on our device. If the next update isn't going to fix it, then I'm switching to a custom ROM. HavocOS, RebelOS or LineageOS 17.1.
Never had this problem before but is indeed the first time I'm also considering a custom Rom too!
If you're rooted you can fix this using LSpeed app
Hello again, i apologize for being away for a while, but i had personal problems.
I just wanted to reply to my own thread because today i updated to 11.0.7.0 build, but they don't seem to have solved anything? The changelog says only
Optimization: Increased system stability. Reduced system lag
Click to expand...
Click to collapse
(other than June Security Patch). I'm reading the replies now, and i have to tell you that (currently) i can't root or install a Custom Rom because it would conflict with my bank's application.
So, once again, no support from Xiaomi... but the great news is that i may have found a solution for the application problem! I will link this reply to the main post, so you can find it more easily, let me know if it works for you too!
What i did:
Disabled Adaptive Battery under "Settings -> Battery ->Adaptive Battery"
Disabled Night brightness (also the plannings)
Disabled Do Not Disturb (also the plannings)
Disabled Rest mode (if any)
Rebooted the phone
Try it out with two application, and if you want to reactivate some features after the reboot, i discovered that "Adaptive Battery" creates problems only after some days since it's turned on, so i suggest to keep it disabled. For the other settings, i can't confirm anything because i haven't tried yet, so let me know.
Thanks
Finaly it worked. :good:
I was searching for this problem for a long time.
Your solution worked with me.
I want to say:
I already jave disabled adaptive battery, Night brightness and Don't disturb mode. But only Recovery mode I needed to disable it, then I rebooted the phone.
Now I can switch between applications, and no application have been closed.
Thank you
what recovery mode do you think?where can I find it? thanks

Question Disable doze?

One of my biggest gripes about Android is the fact that notifications are often delayed. This is because Google has implemented doze - a feature which saves battery life. That's great 'n all, but I absolutely need my notifications ASAP as they're paramount to my business.
I've used the following adb command for a while now to disable doze: adb shell dumpsys deviceidle disable. I know this only works until you restart your phone, but I don't mind doing the command line once a week.
However, it looks like this command does not work for the Pixel 6 Pro. I'm not sure why, but it just doesn't. At first, I thought it may have been an Android 12 issue, but that turned out to be completely incorrect as my new S22 Ultra that's on Android 12 suffered the same delayed notifications ailment, but was remedied by the aforementioned adb command. Now my S22 Ultra gets Gmail/push notifications immediately and on time. So it might be the SoC that's to blame for some reason.
I like the Pixel 6 Pro, I really do. I enjoy Google's UI, the physical look of the phone, etc. but I cannot keep a phone that does not receive notifications on time. Is there a different adb command or a way to disable doze to get notifications on time on the Pixel 6 Pro?
And before anyone recommends it - yes I've tried not optimising Gmail, different email apps, and all the app workarounds - nothing works. Same applies for the S22 Ultra and all my previous Android phones. Only disabling doze allows for push notifications to come through on time.
Any help would be greatly appreciated as I'm not keen on keeping this S22 Ultra, but will if there's no genuine workaround for disabling Doze on the Pixel 6 Pro.
Cheers!
Disabling battery optimization (long press app icon - app info - battery) essentially turns off doze for that particular app. If it's just emails/Gmail you're worried about, do that for the Gmail app. You'll theoretically get your emails on time, and the rest of your phone can zzzzzzzz in peace.
Also of note, Samsung changes a **** ton of the aosp code before using it for their OneUI ROM. It very well may be an Android 12 change than Samsung either reverted or did something else with.
asj0422 said:
Disabling battery optimization (long press app icon - app info - battery) essentially turns off doze for that particular app. If it's just emails/Gmail you're worried about, do that for the Gmail app. You'll theoretically get your emails on time, and the rest of your phone can zzzzzzzz in peace.
Also of note, Samsung changes a **** ton of the aosp code before using it for their OneUI ROM. It very well may be an Android 12 change than Samsung either reverted or did something else with.
Click to expand...
Click to collapse
You won't have to hook it up to your command prompt every time you reboot, either.
Why don't you simply disable optimisation for the apps you need instant notifications for? (Settings > Apps > [AppName] > Battery Usage > Unrestricted)
Again, I've tried that and it simply doesn't work.
I just sent myself an email after leaving 3 of my phones down, idling for 8 minutes. The S22 Ultra and iPhone 13 Pro received the email within 5 seconds of each other, and the Pixel didn't receive anything until I turned it on and unlocked it. Battery optimisation removal is the first thing I tried and it didn't work.
It's not doze then.
If the notion actions are driven through gservices, then that is another aspect of the problem that needs to be "not optimized".
Easiest and best way to solve this kind of problem is to use better software. Fairemail will deliver instant notifications and uses a direct IMAP connection rather than routing everything through gooble.
96carboard said:
If the notion actions are driven through gservices, then that is another aspect of the problem that needs to be "not optimized".
Easiest and best way to solve this kind of problem is to use better software. Fairemail will deliver instant notifications and uses a direct IMAP connection rather than routing everything through gooble.
Click to expand...
Click to collapse
I get what you're saying, but you shouldn't have to use a different app to get notifications. Gmail should work within a reasonable amount of time. It's a problem if you have to turn on your phone for a notification to appear, especially from a Google app.
Op should do a factory reset. And during Android set-up, uncheck device settings (and apps for good measure). Turn off app optimization, and test it again.
But I've seen this issue on Android phones (and iPhones), and no one has ever actually resolved the issue. It seems like it's random when the issue occurs (or doesn't).
I have seen one user report that the adb command to disable doze does work on the Pixel 6 Pro. Not sure how accurate that report was though.
Maybe also try adb shell dumpsys deviceidle disable whitelist + <app package name>
You may want to check what app bucket the apps you want instant notifications for are in (Developer Options>Standby Apps). If they are in either Active or Working Set you "should" be getting notifications on time. If they aren't set to one of those categories you can try changing it to Active or Working Set, although the app may just change it back.
@AhsanU
Hi
I assumed just like you that the problem is with doze .
But , after using the adb command everything works fine except Gmail.
So I replaced Gmail with other email client and now everything just fine.
asj0422 said:
It's not doze then.
Click to expand...
Click to collapse
It absolutely is, as disabling doze literally fixes the issue. This is not even a point of discussion.
Lughnasadh said:
I have seen one user report that the adb command to disable doze does work on the Pixel 6 Pro. Not sure how accurate that report was though.
Maybe also try adb shell dumpsys deviceidle disable whitelist + <app package name>
You may want to check what app bucket the apps you want instant notifications for are in (Developer Options>Standby Apps). If they are in either Active or Working Set you "should" be getting notifications on time. If they aren't set to one of those categories you can try changing it to Active or Working Set, although the app may just change it back.
@AhsanU
Click to expand...
Click to collapse
Looks like Gmail is set as active, as is every single app I've downloaded - odd
AhsanU said:
It absolutely is, as disabling doze literally fixes the issue. This is not even a point of discussion.
Click to expand...
Click to collapse
If this was the case then wouldn't we all be seeing the same thing? When i order something off Amazon on my PC my Pixel 6 Pro goes off at the same time the email arrives on the PC even if i have not picked my phone up for some time.
There has been odd behaviour for some people with Gmail not doing notifications in push mode. Had this with my OnePlus device, but seen it reported for Google, Samsung and other devices for Android 11 and 12.
For some uninstalling the app and re-installing solved it, for others factory reset. Some could not get it to be resolved at all.
Some needed to sort the Google services app as well as Gmail.
It wasn't Doze that was causing the issue though.
AhsanU said:
Looks like Gmail is set as active, as is every single app I've downloaded - odd
Click to expand...
Click to collapse
Can you try this: Go to Settings, System, Users. Create a new user (just a brand-new google account with Fake Information (you can delete it later)). While logged into that profile, lock the phone. wait 10 mins. Then go to a different device and send an email to that new account. How long does it take for the email to come in? Turn off wifi and try it on mobile. Any difference?
AhsanU said:
Looks like Gmail is set as active, as is every single app I've downloaded - odd
Click to expand...
Click to collapse
Did you see this thread on Reddit? Sounds familiar.
https://www.reddit.com/r/GooglePixel/comments/t2cuuu
Im on lineageos pixel 3xl. Have always used the dumpsys deviceidle disable command on previous phones with success. It was the only thing that worked. Battery optimization settings were never enough. Anyway, running the command also solved the problem on my pixel 3xl running lineages. Until about 2 weeks ago. I did recently install super freezze. Uninstalling it now. Will report back if it fixes my issue.
bobby janow said:
Did you see this thread on Reddit? Sounds familiar.
https://www.reddit.com/r/GooglePixel/comments/t2cuuu
Click to expand...
Click to collapse
What was the solution they said worked in the comments?
but i really like android system
This is an issue with the introduction of doze. I can confirm that on every single Android phone I've used since doze was introduced "think it was marshmallow, could be wrong". I have experienced this issue with all my pixel phones up to 4xl, Galaxy s21 Ultra, and OnePlus 7 Pro and 8 Pro. Executing "dumpsys deviceidle disable" via rooted device in terminal or the adb command via computer fixes the issue 100% every time. I also experience no extra battery drain. Google simply needs to get rid of doze it's no longer needed. I carry an iPhone along with my android of choice and only when device idle is disabled do I get my notifications instantly just like I do without fail on my iphone. It's very depressing to have to jump through hoops to get important instant notifications on an Android phone.

Categories

Resources