Adb App Control Extended Key Best [work] Now

adb shell am kill --user all com.example.app Modern Android versions (12+) have aggressive power management. Extended keys allow you to customize this per app.

adb shell pm enable com.example.bloatware adb app control extended key best

adb shell appops get com.example.app

adb shell appops set com.example.app RUN_IN_BACKGROUND ignore adb shell am kill --user all com