Internet connection keeps going out and in:

Its the connection optimizer being turned on/off. Its under the more setting in wireless networks options in system setting.
This other one is nested pretty deep.

  • Go to Wi-Fi then select advance
  • Uncheck the first box Notify Me. This option will turn on Wi-fi when an app tries to use data if enabled.
  • If you have a Android v4 phone, also go into smart actions and disable all actions.

If these don’t help, maybe you installed a widget or app that requires network connectivity and turns it on/off automatically. You can uninstall the app or even try a factory reset till you have the problem fixed. You can also ask your phone provider about an app to install to not allow another app to steal the wifi network.