I've found that any routine linked to connections based on location work only half the time. My 5G is supposed to turn on when I leave the house, my WiFi to turn off. It never works if my screen is on during the process. Sometimes it works only after half an hour after leaving the house, making it pretty useless and unreliable