Originally Posted by android.racer
Just install the app 'better wiffi on/off' from the play store. This will handle your WLAN wakelocks.
Worked for me.
Thanks, that's quite a comprehensive app, certainly useful to manage the Wifi state beyond what Samsung provides. I'll be trying that.
In the past I had however found problems with turning Wifi on and off. Some accounts would perform their sync once Wifi turned on, even if it wasn't time yet according to their schedule; having Wifi turn on/off with the screen actually caused more syncs, and a really high drain (I use a lot of accounts... I'm not looking for exceptional battery life...). Because of that, it was more efficient to leave Wifi connected, even during sleep (which is also the advice by Samsung).
However, at the moment I'm unable to reproduce this effect, so maybe it's not true any more. Maybe it was only on ICS?