В «Настройках» -> «Использование данных» есть флажок «Ограничить фоновые данные».
How does it work, exactly? What does "background" mean here? And is this setting enforced by the OS, or is it a hint that the apps are free to disregard if coded improperly?
источник
NetworkPolicyManager
adds an extra constraint that the screen must be on. "The user is interacting with it" suggests that you must be poking the buttons or something, but actually the activity just needs to be visible on the screen with no other app's activities on top of it.