Author Topic: android 6  (Read 13992 times)

nadir husain

  • Full Member
  • ***
  • Posts: 104
android 6
« on: October 15, 2015, 02:13:56 pm »
hi,  is there any feedback on how aquamail is performing on marshmallow?  there are some  reports that k9 users are having issues on doze mode.   not syncing (fetching)  or pushing.  thanks.  need to know if i should upgrade to a nexus 6p or stick to my note 4. it will be no fun if aqua is also having issues. 

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: android 6
« Reply #1 on: October 15, 2015, 02:22:21 pm »
Yes, I've seen your message:

https://groups.google.com/d/msg/k-9-mail/A_cF14avnzg/xsr_n1LpBwAJ

That's what Doze Mode is, by design.

It turns off scheduled events, "wake locks", and network connectivity, this is how Google made it work, intentionally.

They don't want apps "running" in Doze mode -- they want apps to work off of Google Cloud Messaging.

And they have no trouble enforcing this at system level, by "enforcing" I mean that an app can try (to call the functions), but it won't have any effect.

To a mail app, it means it has to be "cloud based" like TypeMail, MyMail, Outlook, passing your messages through their servers (not every user's cup of tea, but surprisingly few are even aware).

Gmail app will obviously work fine, with @gmail accounts, but I believe that IMAP and Exchange accounts will be affected by Doze mode too.

There are some ways to get around it, but it's very limited (e.g. scheduled events won't be fired more often than once per 15 minutes).

Personally, I'm watching the K9 discussion with great interest, to see what sort of "story" they come up with for their users.
« Last Edit: October 15, 2015, 02:27:18 pm by Kostya Vasilyev, Aqua Mail »
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/

nadir husain

  • Full Member
  • ***
  • Posts: 104
Re: android 6
« Reply #2 on: October 15, 2015, 02:27:20 pm »
Thanks sir. Is there any way to turn doze mode off?

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: android 6
« Reply #3 on: October 15, 2015, 02:46:10 pm »
There is a way to exclude an app from Doze Mode:

http://arstechnica.com/gadgets/2015/10/android-6-0-marshmallow-thoroughly-reviewed/9/

But it's limited, does not fully revert to old behavior.

And this is intentional on Google's part too, please see this comment from one of Android's lead engineers:

https://code.google.com/p/android-developer-preview/issues/detail?id=2225#c11

In addition, the documentation is inconsistent and there may (or may not) have been changes in 6.0 "final" compared to last developer preview.

This comment, about Android SIP being affected too, is very telling:

https://code.google.com/p/android-developer-preview/issues/detail?id=2225#c58

---

In short, the way I see things, Google made a decision that seems questionable to me (and other devs), and seems completely right to them -- and so they're not giving the device owner a way to undo it completely, even if he/she wants to.

Oh, and I guess there are business reasons too.

An app that requires Google Cloud Messaging to function won't run on devices that don't have GCM (e.g. Amazon, Blackberry, off-brand manufacturers).

Maybe that's part of the plan.
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/

nadir husain

  • Full Member
  • ***
  • Posts: 104
Re: android 6
« Reply #4 on: October 15, 2015, 02:56:10 pm »
so the only solution,  i am guessing,  is to keep shaking your phone 😃

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: android 6
« Reply #5 on: October 15, 2015, 03:05:41 pm »
Any "automatic Android phone shakers" on KickStarter yet? :)
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/

nadir husain

  • Full Member
  • ***
  • Posts: 104
Re: android 6
« Reply #6 on: October 15, 2015, 03:08:51 pm »
 now thats an idea  :D

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: android 6
« Reply #7 on: October 15, 2015, 03:29:33 pm »
Google (Android)= "where we want you to go today".
 :(

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: android 6
« Reply #8 on: October 15, 2015, 03:32:35 pm »
Not so fast with KickStarter, though...

https://code.google.com/p/android-developer-preview/issues/detail?id=2225#c60

Quote
According to http://developer.android.com/training/monitoring-device-state/doze-standby.html, moving the device should end Doze.

This is not happening in my tests (Nexus 5).

I have to switch the screen on to end Doze.
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/

mikeone

  • Hero Member
  • *****
  • Posts: 2699
Re: android 6
« Reply #9 on: October 15, 2015, 03:45:00 pm »
These problems on doze mode were to be expected (... by design).
.. Thank you,  Google  8)

nadir husain

  • Full Member
  • ***
  • Posts: 104
Re: android 6
« Reply #10 on: October 15, 2015, 03:46:34 pm »
google has really messed up big time.  i guess as more and more users upgrade to 6 the screams will get louder. still doubt if google will hear them. they have an ecosystem that is a virtual monopoly.  i wonder if the folks at apple are silently laughing now

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: android 6
« Reply #11 on: October 15, 2015, 04:23:12 pm »
Re: wonder if the folks at apple are silently laughing now

I have an iPhone (which I don't use).

It gets better battery time than Android...

.... unless I actually use it, then the battery is dominated by the screen. Same as with Android, actually.

It has very limited capabilities for apps working in the background (e.g. push is only for iCloud accounts).

Which is about what you get with Android 6.0, same compromises (except iOS has had them from the start).

---

Meanwhile:

I haven't seen confirmations that the "mobile radio active" battery drain is actually fixed in 6.0 (other than a comment by Google employee in the bug tracker, saying that it will be fixed in the "final" 6.0).

And there appears to be a new battery drain issue in 6.0, related to WiFi (too lazy to find the link).

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/

nadir husain

  • Full Member
  • ***
  • Posts: 104
Re: android 6
« Reply #12 on: October 15, 2015, 04:31:58 pm »
I would prefer " mobile radio active" to doze anytime. I don't mind charging  my battery as long as I can get my apps to work the way I want to. Seems doze is going to cut android flexibility to a point where users might contemplate ios or even windows . 

nadir husain

  • Full Member
  • ***
  • Posts: 104
Re: android 6
« Reply #13 on: October 15, 2015, 04:41:58 pm »
If I wanted to save battery so bad I would go back to Nokia 3310 or the like. Besides there are power banks available that can charge a smartphone 3 or 4 times. So....
BTW sir what is the " inactive" time before phone " dozes" ?
Thanks and best wishes

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: android 6
« Reply #14 on: October 15, 2015, 04:57:32 pm »
Re: BTW sir what is the " inactive" time before phone " dozes" ?

https://developer.android.com/about/versions/marshmallow/android-6.0-changes.html

Quote
If a user unplugs a device and leaves it stationary, with its screen off, for a period of time, the device goes into Doze mode

No specific time given, and perhaps (my guess) it can even vary based on make / model.

Based on this -- empirical, and from a specific device and system software version -- it's about 2 hours:

https://code.google.com/p/android-developer-preview/issues/detail?id=2225#c41
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/