What if my iPhone 4s will not connect to WiFi and only stays on data?

I cannot connect to WiFi on my phone and sometimes when the phone is low or I shut it off I don't have service on my phone for a while?
Welcome to iMore!

Try resetting your network settings in Settings > General > Reset > Reset Network Settings (this clears all Wifi passwords). That should fix the Wifi issue, but if not then change the Wifi channel to one less populated.

How to change Wi-Fi channel - How-To - PC Advisor

As for not having service for awhile after the phone is turned back on, you may want to first try a factory reset. If that does not work then make an appointment with the Genius Bar at your local Apple store.

Original thread: https://forums.imore.com/threads/what-if-my-iphone-4s-will-not-connect-to-wifi-and-only-stays-on-data.369158/