Difference between revisions of "Android 6"

From dmfswiki
Jump to: navigation, search
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Known issues ==
 
== Known issues ==
Android 6 Marshmallow introduzes a new power saving feature, the so called "doze mode". [http://www.androidcentral.com/inside-marshmallow-what-doze-how-do-i-use-it-and-what-does-it-do]
+
Android 6 Marshmallow introduces a new power saving feature, the so called "doze mode". [http://www.androidcentral.com/inside-marshmallow-what-doze-how-do-i-use-it-and-what-does-it-do]
  
 
At time of writing, there seems to be an incompatibility between it and our apps. When in doze mode, ''"the system does not allow sync adapters to run"'', but ''"periodically, the system exits Doze for a brief time to let apps complete their deferred activities. During this maintenance window, the system runs all pending syncs, jobs, and alarms, and lets apps access the network."'' [https://developer.android.com/training/monitoring-device-state/doze-standby.html] Obviously, the latter doesn't work properly. We don't know yet if it's bug in Android or in our apps, but we're investigating it further.
 
At time of writing, there seems to be an incompatibility between it and our apps. When in doze mode, ''"the system does not allow sync adapters to run"'', but ''"periodically, the system exits Doze for a brief time to let apps complete their deferred activities. During this maintenance window, the system runs all pending syncs, jobs, and alarms, and lets apps access the network."'' [https://developer.android.com/training/monitoring-device-state/doze-standby.html] Obviously, the latter doesn't work properly. We don't know yet if it's bug in Android or in our apps, but we're investigating it further.
  
Fortunately, there is a workaround yet: '''Just exclude our apps from the doze mode at [Android settings->Battery->Battery optimization].''' (Thanks Michael)
+
Fortunately, there is a workaround yet: '''Just exclude our apps from the doze mode at [Android settings->Battery->Battery optimization].'''  
 +
 
 +
(Thanks to Will and Michael!)
 +
 
 +
'''Update:''' It seems to affect Google's own apps as well, what makes it a bug on Google's side. [http://www.lawyerherald.com/articles/25569/20160106/android-6-0-marshmallow-doze-feature-causing-google-sync-issues-nexus-phones-google-working-bug-fix.htm] [https://code.google.com/p/android/issues/detail?id=197805] In reaction, Google already started to roll out an OTA update (6.0.1 build MMB29Q) for Nexus devices containing a fix.
 +
 
 +
Doze mode settings on Samsung devices: https://www.verizonwireless.com/support/knowledge-base-204545/

Latest revision as of 15:05, 12 March 2017

Known issues

Android 6 Marshmallow introduces a new power saving feature, the so called "doze mode". [1]

At time of writing, there seems to be an incompatibility between it and our apps. When in doze mode, "the system does not allow sync adapters to run", but "periodically, the system exits Doze for a brief time to let apps complete their deferred activities. During this maintenance window, the system runs all pending syncs, jobs, and alarms, and lets apps access the network." [2] Obviously, the latter doesn't work properly. We don't know yet if it's bug in Android or in our apps, but we're investigating it further.

Fortunately, there is a workaround yet: Just exclude our apps from the doze mode at [Android settings->Battery->Battery optimization].

(Thanks to Will and Michael!)

Update: It seems to affect Google's own apps as well, what makes it a bug on Google's side. [3] [4] In reaction, Google already started to roll out an OTA update (6.0.1 build MMB29Q) for Nexus devices containing a fix.

Doze mode settings on Samsung devices: https://www.verizonwireless.com/support/knowledge-base-204545/