I have the need to capture the user's location the moment he opens my page. When testing through a button that calls the getLocation () function containing the commands to capture the information I need, I encountered a problem when I visualized that the moment I access the site through a mobile browser on android, it only asks the permission to collect data from the location if the user's mobile phone is connected, otherwise he can not perform my function. The problem is that no one nowadays walks with the active location due to the high consumption of battery. Is there any way I can connect the person's gps or some other way to get the location in the browser by the android?