SONY XPERIA Z ONLY ANSWER.......I had the same problem and it was f##kin me off and that Connection Optimizer isn'. On there. I have just gone in to the settings and the battery saver or power management thing and the third one Down is the one ur looking for location-based WiFi, turn it off...