How to disable app background data usage via adb without root
2
votes
0
answers
2549
views
I'm trying to disable unnecessary apps and their background data usage on an Android 10 device, using the following commands:
adb shell appops set package_name RUN_IN_BACKGROUND ignore
adb shell appops set package_name RUN_ANY_IN_BACKGROUND ignore
adb shell appops write-settings
adb shell pm disable-user package_name
**Question:** How to disable background data usage for the package with ADB without root access?
Asked by M. A.
(840 rep)
Oct 30, 2022, 10:11 AM
Last activity: Oct 30, 2022, 01:58 PM
Last activity: Oct 30, 2022, 01:58 PM