Difference between revisions of "Android 6"

From dmfswiki
Jump to: navigation, search
m
Line 2: Line 2:
 
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 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]
  
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 propperly. 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 Michael)

Revision as of 12:48, 5 February 2016

Known issues

Android 6 Marshmallow introduzes 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 Michael)