Related
Originally I wanted to make an app that just turned off the notification LED setting at night. It's great during the day but annoying at night.. and I'm too lazy to go into settings all the time.
But, seems you can't do this without root (perhaps) so I just use a brute force method and turn off the sources of the notifications: data.
I figure this way missed calls and sms will still set it off and those are more likely to be important. Maybe later I'll make the option to ignore those too.
Really single purpose app, can turn off wifi, mobile data and syncing on a schedule. Set it and forget it.
Bonus: saves a bit of battery life
I'm also playing around with a non-full screen UI.
Let me know what you guys think!
Play Store Links:
Free Version
Pro Version (No ads, same functionality)- Helps me buy coffee
Limitations: Well it's only going to block notifications that are internet based. So calendar events, etc will still set it off.
I'm currently on stock MM vs985 and am curious to know a little more about how Doze is supposed to work by default. I get the concept, some apps will spam you with notifications and drain your battery in the process, so those are kind of put on hold while others are "priority" notifications and get delivered immediately. The user also has the option to give specific exclusions from Doze so the notifications will get delivered immediately as they have in the past. At least this is my understanding of things.
The reason I ask is because Gmail notifications aren't quite right. When I'm actively using my phone in the morning, they seem to come in normally and Doze doesn't seem to be active (which is expected). Then when I go to work Doze will kick in and I notice I don't get as many Gmail notifications, which is fine. However on breaks or over lunch, I actively use my phone again. At this point I would expect Doze to no longer be active and I would think the notifications that Doze delayed would start showing up (granted maybe after some delay, but at some point over an hour lunch break). Today after work I didn't have any Gmail notifications so I opened Gmail, it showed the most recent email as one from around 11:00, I swiped down to refresh, and suddenly five more emails showed up (11:38, 12:01, 1:01, 2:59, and 5:40). With that many emails at those different times, I would have thought notifications would have came in at some point without me manually refreshing my emails.
I realize I could exclude Gmail from Doze, but I don't really need the notifications immediately and I would like to get the battery saving benefits of Doze, I just don't get what it's doing or why. I would assume Doze would DELAY notifications until later so they can be processed as one group/batch, not STOP them completely. Is this correct, is there possibly a setting or something I should be looking at?
akksnv said:
I'm currently on stock MM vs985 and am curious to know a little more about how Doze is supposed to work by default. I get the concept, some apps will spam you with notifications and drain your battery in the process, so those are kind of put on hold while others are "priority" notifications and get delivered immediately. The user also has the option to give specific exclusions from Doze so the notifications will get delivered immediately as they have in the past. At least this is my understanding of things.
The reason I ask is because Gmail notifications aren't quite right. When I'm actively using my phone in the morning, they seem to come in normally and Doze doesn't seem to be active (which is expected). Then when I go to work Doze will kick in and I notice I don't get as many Gmail notifications, which is fine. However on breaks or over lunch, I actively use my phone again. At this point I would expect Doze to no longer be active and I would think the notifications that Doze delayed would start showing up (granted maybe after some delay, but at some point over an hour lunch break). Today after work I didn't have any Gmail notifications so I opened Gmail, it showed the most recent email as one from around 11:00, I swiped down to refresh, and suddenly five more emails showed up (11:38, 12:01, 1:01, 2:59, and 5:40). With that many emails at those different times, I would have thought notifications would have came in at some point without me manually refreshing my emails.
I realize I could exclude Gmail from Doze, but I don't really need the notifications immediately and I would like to get the battery saving benefits of Doze, I just don't get what it's doing or why. I would assume Doze would DELAY notifications until later so they can be processed as one group/batch, not STOP them completely. Is this correct, is there possibly a setting or something I should be looking at?
Click to expand...
Click to collapse
don't want to sound stupid but do you have greenify installed? Do you have sync turned on?
No greenify or any other non-stock battery saving apps, and yes sync is on. Lunch break and no notifications but I bet when I manually refresh in gmail later I'll have emails that should be coming in now :/
49 hours estimated time remaining for my battery, so it's definitely saving battery, but I'd kind of like notifications when I am using my phone :/
Break time at work, still no gmail notifications. One thing that I realized was that I did have a notification from Facebook just now. Does this indicate that either the Facebook notification has bypassed Doze (made itself priority) or gmail notifications specifically are being blocked by Doze?
Also, when I woke up this morning I did have gmail notifications waiting for me, so that means the normal sync process is capable of working correctly. I had my phone on the charger overnight, so Doze wouldn't have been active (which explains why the notification came through).
About 45 minutes ago I finally got gmail notifications for 6 new emails I got throughout the day. Not sure if it's relevant but this would have been about 10 minutes after I got home where I would have been back on wifi since this morning. I also noticed I have Facebook notifications, and the time on the notification is about two and a half hours ago, so I don't know why the gmail notifications wouldn't have came through at that time as well.
So with all of the knowledge and skills around here, no one has quite fully figured out the stock Doze functionality?
FWIW I don't seem to have this same issue on custom ROMs, at least not on Resurrection Remix.
Sent from my LG-VS985 using Tapatalk
Has anyone else noticed this? I've noticed it with the Gmail and Youtube apps specifically but it could be happening on other things and I've just not noticed. If I have emails and delete read them on my desktop then the notification doesn't clear on my phone and notifications for YouTube subscriptions appear when I unlock my phone. I don't think it's happening 100% of the time, I have watched email notifications clearing when I clear the emails on my desktop but it's happening enough for me to notice and make this thread. Power mode is on high performance, pretty sure it's all set the same as my Note 9 was, so is this another niggle that an update is going to sort?
Battery optimization settings?
That was my initial thought but it's configured the same as my Note 9 was and I didn't have any issues with that.
Something not quite right here. I woke up to no notifications for Gmail so I've disabled adaptive battery for it and it's still hit and miss with notifications.
No one else at all getting these issues?
SteveyJack said:
Something not quite right here. I woke up to no notifications for Gmail so I've disabled adaptive battery for it and it's still hit and miss with notifications.
No one else at all getting these issues?
Click to expand...
Click to collapse
Mine was doing something similar and the battery optimisation setting was turned off so I delved into gmail settings and found that all of the labels that I need notifications for had been set to No Notification [emoji15][emoji848] so I turned the notifications back on for the labels and it works just fine now [emoji6]
Sent from my SM-T820 using Tapatalk
SteveyJack said:
Something not quite right here. I woke up to no notifications for Gmail so I've disabled adaptive battery for it and it's still hit and miss with notifications.
No one else at all getting these issues?
Click to expand...
Click to collapse
Yes, I do experience the same issues. I've checked the notification settings and battery optimizing settings multiple times. It is exactly the same as my Note 8. My Note 8 displays the notifications directly while my Note 10 doesn't.
At least it looks like it's a Note 10 issue then.
Yes I seem to be experiencing the same issue. Thought it was odd I didn't have any gmail notifications and went into the app and all the emails came in.
I can feel my sanity returning. I even did a full wipe yesterday and set it up fresh instead of the smart switch I did originally and it's still doing it.
I swear it's getting worse which makes absolutely no sense at all. Before it just occasional times but now I'm having to go into the app every time to find emails.
Talking to myself now but...
I had the Samsung Galaxy Tab S6 arrive today, they're sat on my desk side by side, the Tab is getting Gmail alerts and my Note 10+ isn't.
Have y'all looked at Don"t kill my app - Samsung?
I tried turning battery optimisation off for it and it didn't seem to make a difference.
Same issue here with Gmail notifications. Checked all the options. It was working before the security update though I'm not sure if there's correlation.
Same here with Gmail.
Same issue.
I don't get push notifications with gmail app as well.
Seems like the culprit is the Note 10 in this situation.
However try another email app and see if the problem exists.
Randomly started working yesterday perfectly and then stopped again.
Same issue. No Gmail notifications. App only refreshes when I open it.
Same issue. Turning off battery optimization does not help. Only seems to be happening with gmail for some reason.
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
Hi all,
Just converted from Huawei to this beauty which I already love dearly
Though, having big issues with two apps I really *need* to stay active in the background. Both apps do have the option "Run in background" which are activated. I've also made sure those two apps are not Battery Optimized. I've also made sure they have all needed Access Rights (Camera, Mic, etc etc). Still - when the lid are closed and a while after, the two apps stops receiving notifications. Also, the two apps stop sending information back to the systems telling that I have the apps active and are monitoring/on watch. Opening the lid are enough to wake the apps up enough to receive notifications. I can honestly not use this phone unless I find the cause of this whatever are killing the apps. The notifications are alarms from two different monitoring systems.
Are there any other places/settings I can look to find out why the apps stop responding?
Also, where are now the setting where I can tell that these two apps should autostart on boot?
In advance, thx.
Br,
Stigh
Maybe turning this on would help maintain a stable connection: settings>apps & notifications>Special app access>Unrestricted data
I also have a Huawei, unfortunately the option of AutoStart apps isn't available in this phone as far as I know.
Can I ask if you are also having background 'clicks' from the earpiece when talking on the phone?
My wife is having same issue with her lg stylo 6, I say it's ram issues since she's using 99% ram all the time. Hers will close apps even if recent button was hit and went right back to the same one. If you find a fix lmk, also check ram and usage.
Yoni160 said:
Maybe turning this on would help maintain a stable connection: settings>apps & notifications>Special app access>Unrestricted data
I also have a Huawei, unfortunately the option of AutoStart apps isn't available in this phone as far as I know.
Can I ask if you are also having background 'clicks' from the earpiece when talking on the phone?
Click to expand...
Click to collapse
Hi, thx for the feedback, I will test this setting and see - and report back Though, as it works as long as the phone do not fall into Deep Sleep, how can it be unrestricted data? To me, it seems Android go into some Deep Sleep state some time after you close the phone - I suspect this is a Motorola-thing, not Android 10.
No, I have no 'clicks' in the backround when using phone itsself or BT headset. Have not tested the original cabled earpiece though.