Ever since I upgraded my phone to Android 10 the "turn on wifi automatically" feature doesn't connect automatically when I'm near a known wifi connection (home or work); I have to manually turn on wifi (I know it's hard to do) and this feature used to work fine on Android 9.