Open your phone's Settings app. Tap Security & Location. Location. If you don't find "Security & Location," tap Location. Tap Mode. Select a mode: High accuracy: Use GPS, Wi-Fi, mobile networks, and sensors to get the most accurate location.
def mode(mode): return mode mode(high accuracy)