adb shell settings put global captive_portal_mode 0
adb shell settings put global wifi_scan_throttle_enabled 0
adb shell dumpsys deviceidle whitelist +<package_name>