When device in power saving mode, it doesn't scan for near-by WiFi access points (or if it does, much seldom than in normal mode) - so naturally it won't connect automatically to them either. It is probably possible for you to create a script that forces WiFi scanning, but I don't know the details.