For the first few weeks I've had this phone, I've noticed that WiFi would disconnect, then almost immediately reconnect. I've seen a couple of other posts about this, too. Not a major problem, unless it happened in the middle of trying to download an app from the Play store, or load a web page. It was annoying having to restart the download or reload the web page. It happened most days, but sometimes it would only happen a couple of times during the day, sometime 5 or 6 times in an hour. (I've got tasker scripts that take actions on WiFi Disconnect or Connect, which is how I noticed and tracked it.)
I looked at all kinds of settings, rebooted, rebooted the router, etc. Couldn't figure out any cause.
A couple of days ago I noticed a setting in developer options: "Keep mobile data turned on." The description says "Keep mobile data turned on at all times, even while Wi-Fi is in use, to make it quicker to switch networks." I figured if nothing else, his would keep me from losing connectivity in the brief interval when WiFi disconnected, so I turned it on.
Surprisingly, after doing that, I no longer see WiFi disconnecting and reconnecting. My Tasker scripts only execute when expected (like leaving my house and getting out of range of the access point). I don't know why it should change this behavior, so to test it I turned the option back off. And I still haven't had WiFi disconnecting and reconnecting unexpectedly.
I'm not saying changing this option solved the problem. In fact, I don't have any explanation as to WHY changing this should affect the problem at all. But if you're having the same issue, it can't hurt to try.
I looked at all kinds of settings, rebooted, rebooted the router, etc. Couldn't figure out any cause.
A couple of days ago I noticed a setting in developer options: "Keep mobile data turned on." The description says "Keep mobile data turned on at all times, even while Wi-Fi is in use, to make it quicker to switch networks." I figured if nothing else, his would keep me from losing connectivity in the brief interval when WiFi disconnected, so I turned it on.
Surprisingly, after doing that, I no longer see WiFi disconnecting and reconnecting. My Tasker scripts only execute when expected (like leaving my house and getting out of range of the access point). I don't know why it should change this behavior, so to test it I turned the option back off. And I still haven't had WiFi disconnecting and reconnecting unexpectedly.
I'm not saying changing this option solved the problem. In fact, I don't have any explanation as to WHY changing this should affect the problem at all. But if you're having the same issue, it can't hurt to try.