adb shell device_config put activity_manager bg_auto_restrict_abusive_apps 1
adb shell device_config put activity_manager bg_current_drain_auto_restrict_abusive_apps_enabled 1
adb shell cmd package bg-dexopt-job
# list all packages
adb shell pm list packages
# remove package
adb shell pm uninstall -k --user 0 <pkgname>