I mean when you press the wifi toggle,it takes at least about 20 sec to connect while on kitkat switching on the wifi and connecting was almost instant
Posted via the Android Central App
Takes 2 - 3 seconds after toggling Wi-Fi on, for me. To be honest, it is not a widespread issue. I always tend to shy away from replying to Wi-Fi connection problems as they are a pain in the bum to sort out and almost impossible to solve remotely. In most cases that I have come across, it is down to the router. I remember on the Galaxy S2, that there were problems that turned out to be related to the NetGear router in the end.
Here are some basic steps you can take...
Always start by turning your S5 and your router off and on again. Sometimes that does the trick.
Make sure that you haven’t set Wi-Fi restrictions related to the power saving mode in Settings > Power saving mode.
Head into Settings > Wi-Fi and choose your router, then tap Forget and set up the connection again from scratch.
You can also choose your router in Settings > Wi-Fi and scroll down to tap Edit > Show advanced options and try changing IP settings to Static.
Take a look in Wi-Fi > Settings > Advanced and make sure Keep Wi-Fi on during sleep is set to Always and that Always allow scanning is checked.
Download the free
Wifi Analyzer app and take a look at how busy your channels are. Too many devices on one channel can impact on speeds, so switch to a less crowded channel.
Check MAC filtering on your router and make sure it’s off or that the S5 is listed (you’ll find the S5 MAC address listed in Wi-Fi > Settings > Advanced).
You could also try updating the firmware on your router.
Also, do you use a case that may be blocking your signal
Are you using an ant virus that slows your connection down.