Author Topic: Note 7 Push Notifications not working while phone is sleeping.  (Read 3143 times)

felloffthetruck

  • Newbie
  • *
  • Posts: 14
Just changed phones to the new Samsung Note 7. My push notifications work just fine with Aquamail until the phone is left untouched for an hour plus. Seems like when the phone is sleeping the push notifications stop working. I believe that I have everything checked right in the settings. These are Gmail accounts I'm talking about.

It's also nice to see the Aquamail symbol in the always on display of the Note 7.

Are there any special settings in the phone that I'm missing? Any help would be appreciated. Thank You.
« Last Edit: August 29, 2016, 09:39:42 pm by felloffthetruck »

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Note 7 Push Notifications not working while phone is sleeping.
« Reply #1 on: August 29, 2016, 11:18:42 pm »
Note 7 runs Android 6.

And Android 6 has this thing called "Doze Mode" where -- exactly as you've described -- the phone will go into a special "battery saving" mode after a few hours and will severely limit what apps are allowed to do in the background.

Google's official workaround is -- "hey developers, use Google's Cloud and move your user's messages there" -- which doesn't work for me (or my users, I suppose).

Now, in the current "beta" version, I tried to make things better, but not sure how much it helps if any.

You can install it from this link:

https://play.google.com/apps/testing/org.kman.AquaMail

Oh and one other thing. On an Android 6 device, AquaMail needs to be excluded from this "Doze Mode".

Please check app settings -> mail, receiving. If not already excluded, there will be a panel / button to do so.

( this does not unfortunately fully revert to how things worked prior to Android 6 )
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: Note 7 Push Notifications not working while phone is sleeping.
« Reply #2 on: August 29, 2016, 11:25:59 pm »
Kostya,

Recently this question (and its variations) pops-up very frequently (see, e.g. http://www.aqua-mail.com/forum/index.php?topic=4934.msg28438#msg28438 ).
As I suggested in that response referenced, it would be helpful to add this information to the FAQ, so that some users would be able to read it, and for the rest, it would be easy to refer to that information instead of writing it over each time.

That applies to the (1) Doze mode, (2) 3rd party battery optimizers, and (3) proprietary OEM battery optimizers (Samsung, Huawei, ...)

PS. To clarify: there is a FAQ about Huawei, but not the rest...
« Last Edit: August 30, 2016, 01:00:07 am by StR »

Geezer

  • Guest
Re: Note 7 Push Notifications not working while phone is sleeping.
« Reply #3 on: August 30, 2016, 03:57:29 am »

Kostya wrote: "Google's official workaround is -- 'hey developers, use Google's Cloud and move your user's messages there' -- which doesn't work for me (or my users, I suppose)."


It doesn't work for me either.  I'd much rather have delayed mail delivery than change this app to use their cloud, or anyone else's for that matter.


felloffthetruck

  • Newbie
  • *
  • Posts: 14
Re: Note 7 Push Notifications not working while phone is sleeping.
« Reply #4 on: August 30, 2016, 06:28:28 pm »
Thanks for the replies.