Difference between revisions of "Android 6"

From dmfswiki
Jump to: navigation, search
m
Line 4: Line 4:
 
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!)

Revision as of 09:47, 8 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 to Will and Michael!)