|
|
|
|
|
by kuschku
3757 days ago
|
|
That was true with Marshmallow. With Nougat, no background tasks will be run at all while the screen is off – except for Google services, or if they keep the CPU on 100% of the time with a wake lock. JobScheduler also doesn’t allow continuous tasks, but only short tasks – so you can’t actually keep a low-cost socket open. |
|
Untrue.
First, mobile Doze doesn't kick in immediately when the screen is off.
Second, mobile Doze apparently doesn't stop all background tasks except "Google services" from running, since "wake locks" from apps for background tasks are still supported.