So on occasion, my wifi automatically turns itself off for some strange reason. This happens on both my Lenovo ThinkPad and my Samsung Galaxy S5. Is there a way prevent this from happening?
You can turn off the Connection Optimizer, if it's on.
Settings → More Networks → Mobile Networks → Connections optimizer → Turn off Connections Optimizer, or turn off Wifi Timer
Settings → Wifi → Tap the vertical ... and then Advanced → Wi-fi Timer → There turn off any timer selected.
I hope this works for you.
Go to Settings, Wi-Fi, (menu button) advanced settings and then select All the time on the option use Wi-Fi on suspension.
The translation maybe it's not perfect. My phone is in Spanish
Check your device setting... You your device is on power saving mode then this can happen as the more optimized mode switch off wifi when not in use.
I had similar issue with my HTC One which took some time for me to catch and fix.
In Wireless options in your Samsung device. Click on options (Overflow-icon) and click Advanced. After that you'll see an option called "WiFi timer", click on it and uncheck both check boxes.
Does this happens on your devices who are connected to the same network or? And does it happens on your, or any network.
And here is the link from Lenovo Support page, about your problem.
It may be because of GPS as some settings for the GPS (aka high accuracy) use Wi-Fi & connect to known Wi-Fi connections to triangulate your position and can improve on location detection. To fix this:
- got settings
- disable GPS by turning off
Hope this solves your issue
Format your phone and check.. This happens due to a virus attack by installing various malware applications by unknown sources.