From Android 11 and above, when we get a android device. we may have issues when we connect the wifi, from android device, after connect to the internet wifi, it may shows "Connected, limited connection", this is because the android OS will try to connect to a google service after connect to wifi, and In china, we have problem to connect to google service, so it will show that kind of message, and after reboot the device, also cannot do auto connect previous saved wifi, we can use below way to overcome it.
check current value, may be null
adb shell settings get global captive_portal_https_url
Set value
adb shell "settings put global captive_portal_https_url https://captive.v2ex.co/generate_204 "
标签:11,auto,wifi,captive,connect,https,Android,android From: https://www.cnblogs.com/renren0113/p/17983057