Related
As I understand it, push notification is delivered in Android by GCM, which replaced C2DM.
For this to work you need "auto-sync" switched on your device and setup for that app.
This should allow for 2 things:
Lower power and bandwidth usage by server pushing rather than phone polling and pulling information
notification works even if the app is not running, as the msg can include a INTENT to start the app
However my eBay app gets notifications after a reboot, without me starting the app and without auto-sync being switched on or eBay app appearing in its list of apps.
Any thoughts?
Is eBay auto-starting (shouldn't be according to ES task mgr) is it polling for updates (surely that is not peformance friendly).
is there any further information I can provide to help with this query?
Hello,
Your post is old, but let me bring my answer...
you should use another app to detect whether or not if your app is able to autostart or no ie : autorun manager, or the Xposed module(boot manager)
Ebay will autostart because of notification as stated in the attachment file...
I am trying to get push bullet to successfully push notifications through, however greenify seems to be stopping it.
I have paid for donate version and I have activated GCM push for greenified apps.
Only option enabled in settings is GSM push
The following screen shots is my setup.
Pending Hibernation: https://www.dropbox.com/s/kfa6r1so71ykxgl/2015-09-24 14.05.47.png?dl=0
Hibernated: https://www.dropbox.com/s/yby80i12p318te0/2015-09-24 14.05.50.png?dl=0
Running In Background: https://www.dropbox.com/s/z20u7w5on49cb2y/2015-09-24 14.05.56.png?dl=0
Hi there,
I purchased full version of Greenfy and now I can take advantage of those extra experimental features...
For example, maybe there's someone that could explain what "GCM push for greenfied apps does?"...The only result I can see is like this:
I greenfied Facebook Messenger, Facebook, S Health, Maps, HERE Maps...because I don't want these apps be woken again only if there are some received notifications because at the same time I don't want any missed notifications from these apps...does this experimental feature " GCM push for greenfied apps" helps me to obtain what I need?
Well, I've seen while I'm not connected to Internet neither via WiFi nor Data, these apps are hibernated and further wakeups no longer occur but when I connect to the Internet, Messenger is set like this: It's automatically placed into "Not hibernating automatically" with this status:
Working
20:56 ago content provided: Messenger Logged!
And the other one, Facebook is placed automatically under "Will hibernate in minutes after screen is OFF"...what do all these mean??
These 2 apps are woken up automatically by the system although there were no notifications in either case...
I've just connected to the internet and these apps woken up...is it a normal behaviour?
Maybe someone more experimented could explain me the whole process...Thanks in advance!!
Now I see both apps are under the same category: "Will hibernate in minutes after screen is OFF"...how many minutes is all about???
last1left91 said:
Hi there,
I purchased full version of Greenfy and now I can take advantage of those extra experimental features...
For example, maybe there's someone that could explain what "GCM push for greenfied apps does?"...The only result I can see is like this:
I greenfied Facebook Messenger, Facebook, S Health, Maps, HERE Maps...because I don't want these apps be woken again only if there are some received notifications because at the same time I don't want any missed notifications from these apps...does this experimental feature " GCM push for greenfied apps" helps me to obtain what I need?
Well, I've seen while I'm not connected to Internet neither via WiFi nor Data, these apps are hibernated and further wakeups no longer occur but when I connect to the Internet, Messenger is set like this: It's automatically placed into "Not hibernating automatically" with this status:
Working
20:56 ago content provided: Messenger Logged!
And the other one, Facebook is placed automatically under "Will hibernate in minutes after screen is OFF"...what do all these mean??
These 2 apps are woken up automatically by the system although there were no notifications in either case...
I've just connected to the internet and these apps woken up...is it a normal behaviour?
Maybe someone more experimented could explain me the whole process...Thanks in advance!!
Now I see both apps are under the same category: "Will hibernate in minutes after screen is OFF"...how many minutes is all about???
Click to expand...
Click to collapse
Your understanding of GCM push is correct. It is meant to ensure that you don't miss any notifications from greenified Apps.
Facebook and Messenger are always in a different category. They will behave in their own fashion even if you greenify them.
"Working" means that the process is running. After it completes what it has to do, it will go back to 'will hibernate after screen is off'. That hibernation takes place anywhere from 2 minutes to 5 minutes after the screen is off.
Hope you are clear.
tnsmani said:
Your understanding of GCM push is correct. It is meant to ensure that you don't miss any notifications from greenified Apps.
Facebook and Messenger are always in a different category. They will behave in their own fashion even if you greenify them.
"Working" means that the process is running. After it completes what it has to do, it will go back to 'will hibernate after screen is off'. That hibernation takes place anywhere from 2 minutes to 5 minutes after the screen is off.
Hope you are clear.
Click to expand...
Click to collapse
Thanks..you were very clear with your explanation but this morning something strange happened!
I connected to the Internet and played a bit with messenger app on my mobile data...then I disconnected my mobile data and closed the process associated to the Messenger App...I had to close it manually from Active Apps screan...it seems there's no other way...
And after 2-3 minutes or even more I checked my Active Apps...I did a shortcut with Quick Shorcut Maker and launching it through a swipe gesture from anywhere using GMD Gesture Control...I'm such disperate to close all the apps's processes when they(the apps) are no longer in use...Well, deep sleep has to stay deep sleep and I don't want any apps to run in background unless they are related to notifications...but when I'm not connected to the Internet I want all my apps's processes closed except apps like : Swapps, Internet SpeedMeter , GMD Gesture Control, My Data Manager, Greenfy, Tasker, Samsung Keyboard and System UI whose associated processes MUST stay there, under Active Apps Category List...
Well, I've seen Greenfy provides me a shortcut for the greenfied apps...but I don't know what this shortcut does..
Well....let's say at the moment X I have these 2 apps, Messenger and Facebook under Active apps, which means their processes are running...
Well, when I'm greenfying them which means when I press on that shortcut button shouldn't those apps be eliminated from Active Apps List..because this doesn't happen...I still have to enter myself and close the processes manually...then what's the shorcut's point? )...The apps were already greenfied through Greenfy App...weeks ago...do you get my point?..
I wanted that shortcut to automatically eliminate those 2(or any) running processes when I press on it!! Do you know any ways to obtain this behaviour so I weren't under the necessity to press explicitly on the "Stop" button?? Thanks in advance!!
@last1left91
I think that by manually killing a running process, you lose more battery. It may also affect the stability of the Apps concerned.
The best way to do it is using Greenify. But I don't know why these two are not hibernated when you use the shortcut.
Let us wait for @oasisfeng
First of all, let me explain the state words. "Working" means the app is reporting it self actively working to Android system thus should avoid being killed. Greenify respects this state unless it is black-listed (check "always ignore its state" when manual hibernating a "working" app). "content provided" means its content is accessed by some other app in a cross-app-interaction way (usually via APIs). In your case, its most probably accessed by Facebook app. Then the Facebook app itself is usually woken by other apps with Facebook feature integration (login, "like" and etc.) In most cases, they do hibernate, but usually woken when you launch other apps (with Facebook integration). You can let it go since Greenify should automatically hibernate them again after screen goes off next time.
The shortcut of "Hibernate" will only put apps in "pending" section into hibernation. If an app is shown as "Working", it will not be hibernated by the shortcut too. To override that, manually hibernate it once and check "always ignore its state" there.
After enabling aggressive doze mode, my battery life improves greatly. However, the price is that I only receive gmail notification after screen on. I have whitelisted gmail app and google play services of course, even all other apps related to Google. Other apps I whitelist work just fine, like Whatsapp and WeChat. So is there any other apps I need to add to whitelist to make gcm work? Or the aggressive doze mode has something wrong with it?
I'm using samsung s6 edge, marshmallow with xposed, and greenify in boost mode. Before updating to version 2.9, everything was fine.
zhjn921224 said:
After enabling aggressive doze mode, my battery life improves greatly. However, the price is that I only receive gmail notification after screen on. I have whitelisted gmail app and google play services of course, even all other apps related to Google. Other apps I whitelist work just fine, like Whatsapp and WeChat. So is there any other apps I need to add to whitelist to make gcm work? Or the aggressive doze mode has something wrong with it?
I'm using samsung s6 edge, marshmallow with xposed, and greenify in boost mode. Before updating to version 2.9, everything was fine.
Click to expand...
Click to collapse
Have you found the other apps to whitelist? I am having the same issue.
price31 said:
Have you found the other apps to whitelist? I am having the same issue.
Click to expand...
Click to collapse
I'm afraid not. I disabled aggressive doze mode now?
zhjn921224 said:
After enabling aggressive doze mode, my battery life improves greatly. However, the price is that I only receive gmail notification after screen on. I have whitelisted gmail app and google play services of course, even all other apps related to Google. Other apps I whitelist work just fine, like Whatsapp and WeChat. So is there any other apps I need to add to whitelist to make gcm work? Or the aggressive doze mode has something wrong with it?
I'm using samsung s6 edge, marshmallow with xposed, and greenify in boost mode. Before updating to version 2.9, everything was fine.
Click to expand...
Click to collapse
and @price31
Google has not set the notifications from the Gmail app as priority, the logic being that instant messaging has more urgency than emails. Whether you like it or not, I think that you will not get Gmail notifications during Doze.
It may be true, but this issue only happens when I enable "aggressive doze" mode in Greenify. I can still receive gmail notification even if I leave my phone there for hours (when it is in doze).
tnsmani said:
and @price31
Google has not set the notifications from the Gmail app as priority, the logic being that instant messaging has more urgency than emails. Whether you like it or not, I think that you will not get Gmail notifications during Doze.
Click to expand...
Click to collapse
zhjn921224 said:
It may be true, but this issue only happens when I enable "aggressive doze" mode in Greenify. I can still receive gmail notification even if I leave my phone there for hours (when it is in doze).
Click to expand...
Click to collapse
May be the maintenance windows in Doze are only a few minutes apart whereas in AD, they are a few hours apart.
tnsmani said:
May be the maintenance windows in Doze are only a few minutes apart whereas in AD, they are a few hours apart.
Click to expand...
Click to collapse
Aggressive Doze effectively doubles the starting interval between maintenance windows, which should be one hour (in AD) if I remember correctly.
---------- Post added at 09:31 PM ---------- Previous post was at 09:22 PM ----------
As always, you can enable the doze debug notification to figure the correlation between doze and the unexpected behaviors. It works for both stock doze and Aggressive Doze.
Very similar configuration (Samsung s6, stock marshmallow with root, xposed, and greenify beta in boost mode) and same issue as TE here:
Gmail notifications are coming in only approximately once per hour with "aggressive doze" on after the device falls in "doze idling"/ "doze idle mode", so the time frame mentioned by @oasisfeng in post #7 appears to be correct. As soon as I completely disabele aggressive doze, all mails come in immediately as expected (stock doze not tested). What I did to resolve the issue (to no avail):
Gmail ist whitelisted in the battery section
Gmail is not set up for greenifying
Even GCM push for greenified apps is enabled
Mobile/wifi heartbeat is set to 6/5 minutes with PNF
Is there really nothing else we could do? Is it really as mentioned by @tnsmani, that Google mails will come in never (or only once per hour) during doze? I am asking because not too many other people appear to report this issue so the issue might also be related to some particularities of Samsung phones.
killerm said:
Very similar configuration (Samsung s6, stock marshmallow with root, xposed, and greenify beta in boost mode) and same issue as TE here:
Gmail notifications are coming in only approximately once per hour with "aggressive doze" on after the device falls in "doze idling"/ "doze idle mode", so the time frame mentioned by @oasisfeng in post #7 appears to be correct. As soon as I completely disabele aggressive doze, all mails come in immediately as expected (stock doze not tested). What I did to resolve the issue (to no avail):
Gmail ist whitelisted in the battery section
Gmail is not set up for greenifying
Even GCM push for greenified apps is enabled
Mobile/wifi heartbeat is set to 6/5 minutes with PNF
Is there really nothing else we could do? Is it really as mentioned by @tnsmani, that Google mails will come in never (or only once per hour) during doze? I am asking because not too many other people appear to report this issue so the issue might also be related to some particularities of Samsung phones.
Click to expand...
Click to collapse
What I said comes from here: https://developers.google.com/cloud-messaging/concept-options
It says
"High priority. GCM attempts to deliver high priority messages immediately, allowing the GCM service to wake a sleeping device when possible and open a network connection to your app server. Apps with instant messaging, chat, or voice call alerts, for example, generally need to open a network connection and make sure GCM delivers the message to the device without delay. Set high priority only if the message is time-critical and requires the user’s immediate interaction, and beware that setting your messages to high priority contributes more to battery drain compared to normal priority messages.
Normal priority. This is the default priority for message delivery. Normal priority messages won't open network connections on a sleeping device, and their delivery may be delayed to conserve battery. For less time-sensitive messages, such as notifications of new email or other data to sync, choose normal delivery priority."
@tnsmani
Darn. Then, of course, we must expect that GMail will stick to Google's own GCM/priority policy. And it is obvious that stock doze will lead to the same GMail issue as Greenify's aggressive doze
New idea: It would already help if I could wake up the device when it has been idling for 20 minutes or so. I would then receive all e-mail notifications at least every 20 minutes. Greenify provides an action to wake up the device for Tasker. Is there any chance to identify the device's current doze state with tasker so that I could start a timer or set a calendar event (less energy intensive) when the device goes into doze mode? Unfortunately, even Tasker appears not to be realiable if the device is idling, unless Tasker's option "reliable alarms" is turned on (http://bit.ly/2cfvAaZ, http://bit.ly/2cfx4lo). This option, however, apparently prevents the device from entering any kind of doze state and thus makes all efforts to save battery with doze mode quite useless.
So if I need reliable notifications when E-Mails are coming in, I could (simply) set tasker to "reliable alarms". But in this case, the device will never enter any kind of doze mode. :-/
Is there any other option you can think of?
Best regards
Mick
Ok, I am not the first one with the idea to abuse tasker's "reliable alarm" option in order to disable doze...
https://www.reddit.com/r/Android/co...g_tasker_on_marshmallow_its_reliable/.compact
Gesendet von meinem SM-G920F mit Tapatalk
Hi!
after some research i realised that SolMail is an email client with gcm feature (i use it with yahoo)
is there any other mail apk able to notify over GCM?
i'm testing SolMail in this days and notifications are a bit random (i set to 3 mins the update time and put the app in white list of aggressive doze)
can be useful to reduce heartbeat?
thanks in advance.
maserati1972 said:
Hi!
after some research i realised that SolMail is an email client with gcm feature (i use it with yahoo)
is there any other mail apk able to notify over GCM?
i'm testing SolMail in this days and notifications are a bit random (i set to 3 mins the update time and put the app in white list of aggressive doze)
can be useful to reduce heartbeat?
thanks in advance.
Click to expand...
Click to collapse
Aquamail supports GCM. Mature, robust client with excellent support via user forum. Free and paid variants. Find it in the Play Store.
Believe K9 also supports GCM along with Google's native app. Also take a look at the free Microsoft Outlook client.
Thanks Davey126
this afternoon i tried many mail clients...i found this:
Outlook works on latest versions (previous don't connect), same for CloudMagic (now Newton Mail);
Both in last releases are super heavy for my little Droid4 (CM13);
so i'm experimenting now "myMail" that spit instant inbox notifications even greenifying the app...i'm very impressed!
on the other hand is over 90MB which wiredly figures on cached process and never on running ones...
is in your opinion Aquamail lighter and efficient with Greenify and notifications?
maybe i could try an older release?
Thanks!!!
maserati1972 said:
Thanks Davey126
this afternoon i tried many mail clients...i found this:
Outlook works on latest versions (previous don't connect), same for CloudMagic (now Newton Mail);
Both in last releases are super heavy for my little Droid4 (CM13);
so i'm experimenting now "myMail" that spit instant inbox notifications even greenifying the app...i'm very impressed!
on the other hand is over 90MB which wiredly figures on cached process and never on running ones...
is in your opinion Aquamail lighter and efficient with Greenify and notifications?
maybe i could try an older release?
Thanks!!!
Click to expand...
Click to collapse
Aquamail satisfied all my needs and runs well on lower end devices. That said mail clients are like a box of chocolates. What is beautiful to one is distasteful to another. Try and profit (or not).
The doze mode introduced with Marshmallows breaks push email because email apps will no longer check for email when the phone is in doze. You can exempt apps from battery optimisation, but the exemption is only partial (read: useless). With Nougat it's even worse because Doze has become more aggressive.
My mailbox is on an imap server and I use imap idle for push (no, Apple fanboys, that's no battery drain).
AFAIK the only things which can wake a phone from Doze are phone call, sms messages, and high-priority google cloud messaging (or whatever they're called now) notifications.
Whatsapp, for example, relies on high-priority GCM notifications, and does wake phones up from Doze
There are some mail apps which rely on GCM notifications, but none which sends high-priority notifications - leaving aside the fact that I prefer imap idle because I don't like the idea of having a third-party server, which I somehow have to pay for, with access to my emails...
My question is: how on Earth are we supposed to get push email when the phone is in the doze? Or has google effectively decided that Android will no longer support real push email?
Rooting is not an option because the app I use to read my work email (Good by Blackberry) does not work on rooted devices.
Thanks!
PS Details of doze breaking push email are on another forum: http://androidforums.com/threads/mar...droid.1058445/
Anyone? yes, I know it's an old question, but it's still valid! Am I the only user for whom not having push email is an issue? I can live without getting instant notification of my private email, but work email is a different thing and I have had multiple situations where this has caused problems.
cdl2 said:
Anyone? yes, I know it's an old question, but it's still valid! Am I the only user for whom not having push email is an issue? I can live without getting instant notification of my private email, but work email is a different thing and I have had multiple situations where this has caused problems.
Click to expand...
Click to collapse
Try typeapp maybe. Works for me without whitelisting it
Are you sure it works when the device is in Doze? I ask because Google documentation explains very clearly
https://developer.android.com/training/monitoring-device-state/doze-standby
that whitelisting is only a partial exemption, and that the one and only way to be sure the device receives notifications when in Doze is to use high-priority FCM notifications.
Last I checked, typemail was using normal-priority FCM. has this changed?
To test it, you can force the app into doze by using adb:
adb shell dumpsys deviceidle force-idle
now send an email to yourself from your PC or another phone. Do you get a notification? If you do, typeapp uses high-priority FCM. if you don't, it doesn't, and there seems to be no way around it, because Google has decided to kill push email without providing a ******* alternative!!!
To exit doze and reactivate the phone:
adb shell dumpsys deviceidle unforce
adb shell dumpsys battery reset
A counter-test is to send yourself an email when the phone is not in doze - you should receive an immediate notification.
When talking about Doze, the most common mistakes are:
not understanding that whitelisting is only a partial exemption
mistakenly thinking that you are getting notifications despite doze, when, in fact, either doze hasn't kicked in, or you are getting them in the windows allowed by Doze (no push)
By the way, my key problem is with work email; I can live with private email not being delivered immediately, but work email is a different story!
You might also want to look at these two links about privacy:
https://mobilsicher.de/security-des...d-other-email-apps-transmit-login-credentials
https://androidforums.com/threads/email-which-apps-keep-it-private.935578/
Never heard of any email app using any information in a bad way, especially big ones like typeapp. Even if info is sent to their servers they plainly say they don't store it and even if they do, they can't use it for anything without implicating themselves.
Also first link includes misspellings in the header lmao. I wouldn't trust everything you read, you'll end up in a bubble.
As far as notifications from typeapp, they come through relentlessly if not turned off, dunno if it's preventing the doze somehow but it works well on my quarks running RR Oreo. Try it and do your own tests
Mrpookie said:
Never heard of any email app using any information in a bad way, especially big ones like typeapp. Even if info is sent to their servers they plainly say they don't store it and even if they do, they can't use it for anything without implicating themselves.
Also first link includes misspellings in the header lmao. I wouldn't trust everything you read, you'll end up in a bubble.
As far as notifications from typeapp, they come through relentlessly if not turned off, dunno if it's preventing the doze somehow but it works well on my quarks running RR Oreo. Try it and do your own tests
Click to expand...
Click to collapse
As for typeapp, what leaves me confused is that its documentation talks about whitelisting it in the battery settings. However, even though 99% of Android users fail to understand this, whitelisting is only a very partial exemption. You don’t need to whitelist Whatsapp in order to receive messages even while in Doze. Why? Because Whatsapp uses high-priority FCM notifications. Hence I suspect Typeapp does NOT use high-priority FCM. I have emailed them this question.
It’s very unfortunate that it’s now become very hard to get real push email; we have gone backwards since the early days of mobile devices! Also, Google forcing FCM down our throat means going back to a BIS/BES kind of solution, which was wildly criticised for being a single point of failure. But, most incredibly, AFAIK there is no email client that uses high-priority FCM, so Google is effectively saying: you can have push whatsapp but not push email! The crazy thing is that this was done because too many apps were misbehaving and connecting too often, not because there is anything wrong with push email – imap idle used to work brilliantly, without draining battery.
It has also become very hard to test for push in Doze: many manufacturers add their own app-killing optimisation tool, so the app must be whitelisted there, too. Also, it is never clear when a phone is in Doze, or if it is in a maintenance window: you may think you are getting emails, but you are only getting them because the phone is in a maintenance window, and the next email you might not see for 2 hours!
I have never heard of any email app using private data in a particular bad way, either, it’s just that the concept of giving access to my email to some server of some unknown company makes me uneasy. I don’t even use gmail for this reason, preferring to pay for my own email! The apps listed in my second link (k9 mail, aquamail etc) download mail from the server to the app and the developers of the app have no access whatsoever to my mail. For example, there have been cases of developers of email clients letting their employees read emails to “train the software”
https://www.cnet.com/news/third-party-gmail-apps-reportedly-let-employees-read-peoples-emails/
https://www.macrumors.com/2018/07/02/third-party-email-apps-reading-user-emails/
I understand many people don’t care; these things are very subjective and I have zero interest in convincing anyone – I am just explaining why I’d rather avoid this kind of email clients, unless maybe it’s the one and only way to get real push with Android Doze.
cdl2 said:
As for typeapp, what leaves me confused is that its documentation talks about whitelisting it in the battery settings. However, even though 99% of Android users fail to understand this, whitelisting is only a very partial exemption. You don’t need to whitelist Whatsapp in order to receive messages even while in Doze. Why? Because Whatsapp uses high-priority FCM notifications. Hence I suspect Typeapp does NOT use high-priority FCM. I have emailed them this question.
It’s very unfortunate that it’s now become very hard to get real push email; we have gone backwards since the early days of mobile devices! Also, Google forcing FCM down our throat means going back to a BIS/BES kind of solution, which was wildly criticised for being a single point of failure. But, most incredibly, AFAIK there is no email client that uses high-priority FCM, so Google is effectively saying: you can have push whatsapp but not push email! The crazy thing is that this was done because too many apps were misbehaving and connecting too often, not because there is anything wrong with push email – imap idle used to work brilliantly, without draining battery.
It has also become very hard to test for push in Doze: many manufacturers add their own app-killing optimisation tool, so the app must be whitelisted there, too. Also, it is never clear when a phone is in Doze, or if it is in a maintenance window: you may think you are getting emails, but you are only getting them because the phone is in a maintenance window, and the next email you might not see for 2 hours!
I have never heard of any email app using private data in a particular bad way, either, it’s just that the concept of giving access to my email to some server of some unknown company makes me uneasy. I don’t even use gmail for this reason, preferring to pay for my own email! The apps listed in my second link (k9 mail, aquamail etc) download mail from the server to the app and the developers of the app have no access whatsoever to my mail. For example, there have been cases of developers of email clients letting their employees read emails to “train the software”
https://www.cnet.com/news/third-party-gmail-apps-reportedly-let-employees-read-peoples-emails/
https://www.macrumors.com/2018/07/02/third-party-email-apps-reading-user-emails/
I understand many people don’t care; these things are very subjective and I have zero interest in convincing anyone – I am just explaining why I’d rather avoid this kind of email clients, unless maybe it’s the one and only way to get real push with Android Doze.
Click to expand...
Click to collapse
Dud... I'm not reading all that, lol
Why not try typeapp itself with a non important or dummy email and see. It could be something with my device or ROM causing it to come through but I think it may work for you.
Quick question: is it possible to get typeapp to retrieve mail from the inbox folder immediately (push), but to also retrieve mail from another folder every 4 hours or so? This is the setup I had with Aquamail and K9mail. I ask because I have a 'newsletter' folder where all the newsletters, notifications and non-urgent stuff gets filtered (server-side). I am testing typeapp but haven't found a way to do this.
cdl2 said:
Quick question: is it possible to get typeapp to retrieve mail from the inbox folder immediately (push), but to also retrieve mail from another folder every 4 hours or so? This is the setup I had with Aquamail and K9mail. I ask because I have a 'newsletter' folder where all the newsletters, notifications and non-urgent stuff gets filtered (server-side). I am testing typeapp but haven't found a way to do this.
Click to expand...
Click to collapse
Not sure abt other folders. I know you can set it up that way for different e-mails. Maybe there's a way to make a rule for such a thing. If I discover a way I will post here
Edit- does not appear to be a way to do this using typeapp alone. Maybe another email program could be in fetch mode on that folder and you could set typeapp to push and notifications enabled for certain contacts or something of the like.
You could always contact support and ask if it could be done or put in a feature request. That is a good idea and would be useful to many
Another idea: depending on the email client you use, you may be able to set up a rule to forward those emails you want in fetch mode to a dummy email, then set that email in fetch mode within typeapp
Nothing special about TypeApp in terms of quick notifications when in Doze. I left my phone unattended for 20 minutes then sent a test email and it took over 40 minutes to get the notification. Samsung Email got it first at 28 minutes and BlueMail / TypeApp got it around 42 minutes. This is without touching the phone. This is with Batttery Optimization OFF, Adaptive Battery OFF, Put unused apps to Sleep OFF. Note 10+ Factory Unlocked Android 11 One UI 3.1
Edison Mail sends INSTANT notifications even if your phone's been sleeping for hours, but I hate their GUI, let alone their privacy policy.
Will this ADB command stick after reboot?
Code:
adb shell dumpsys deviceidle unforce