houdini Your device will only auto-connect to your local WiFi network if WiFi on your phone is turned on.
If you turn off WiFi on your phone (automatically or otherwise), then your phone won't auto-connect to your local WiFi network until you manually turn WiFi on your phone back on.
WiFi scanning can be used by location services to help find your location. It won't connect you to your WiFi network.