How to properly enable and configure Google geolocation on Xiaomi smartphones

Geolocation on Xiaomi smartphones often works unstable due to the features of the firmware MIUI Users face problems: exact coordinates are determined with a delay, maps show the wrong location, and some applications (for example, Google Maps or Yandex.Navigator) refuse to see at all. GPS-In this article, we will discuss all the ways to enable and optimize geolocation, from basic settings to hidden developer parameters.

Xiaomi is very much power-saving by blocking the background activity of applications, and this applies to geolocation services, too: the system can force them to turn off if it thinks they are โ€œexcessing too muchโ€ the device, and we will show you how to get around these limitations without compromising autonomy, and we will also teach you how to calibrate GPS for maximum accuracy.

Why is Xiaomiโ€™s geolocation not working properly?

The problems with location on Xiaomi are usually due to three factors:

  • ๐Ÿ”ง Limitations MIUI: Firmware aggressively optimizes background processes, including Google Play and Google Maps services.
  • ๐Ÿ“ก Weak. GPS-In cities with tall buildings or indoors, the smartphone can โ€œloseโ€ satellites.
  • ๐Ÿ”„ Version conflict: outdated Google Play Services or incompatible with regional settings.

Another common reason is that the compass doesn't calibrate, and if you've never manually adjusted it, your smartphone can show you the wrong direction even at the exact coordinates, for example, in Google Maps, the arrow of your location will "jump" or point in the opposite direction to the actual motion.

๐Ÿ“Š What geolocation problem do you have on Xiaomi?
Does not determine location
It shows inaccurately.
Fast discharge of battery
Apps don't see GPS
It's working fine.

Basic geolocation setting in MIUI

Before digging into the hidden settings, check the basic parameters:

  1. Open Settings โ†’ Privacy โ†’ Permissions โ†’ Geolocation.
  2. Activate the Geolocation switch (at the top of the screen).
  3. Select the accuracy mode: ๐ŸŽฏ ยซHigh accuracy โ€“ uses GPS, Wi-Fi, mobile networks and sensors: optimal for navigation. ๐Ÿ“ถ ยซCharge savings" - only Wi-Fi and mobile networks (accuracy is lower, but the battery goes down slower). ๐Ÿ“ ยซOnly the device" - "only GPS (The most accurate, but slow and energy-consuming).

If you choose High Accuracy, but geolocation still doesnโ€™t work well, the problem may lie in application-specific permissions, such as Google Maps or 2GIS should have access to the location โ€œAlwaysโ€ rather than just โ€œDuring Use.โ€

Is the geolocation master switch on?

Is the โ€œHigh Accuracyโ€ mode selected?

Do apps (Maps, Navigator) have a โ€œAlwaysโ€ resolution?

Are Google Play Services Updated?

-->

How to allow background activity for Google services

MIUI blocks the background of applications by default, which is one of the main reasons why geolocation falls off after a few minutes.

  1. Go to Settings โ†’ Applications โ†’ Application Management.
  2. Find Google Play Services and open its settings.
  3. Select Permissions โ†’ Additional โ†’ Autostart and turn it on.
  4. Go back and slip the battery. โ†’ No restrictions.
  5. Repeat steps 2-4 for Google Maps, Yandex.Navigator and others that use geolocation.

After this, the services will be able to work in the background without forced shutdown, but note that this will slightly increase battery consumption (5-10% per day with active navigation).

๐Ÿ’ก

If geolocation still disappears after setting up the background activity, try adding the application to Secure Applications (Settings โ†’ Battery โ†’ Secure Applications).

Calibration of GPS and compass on Xiaomi

If your smartphone shows your location, but the directional arrow is rotating randomly or pointing incorrectly, the problem is an uncalibrated compass.

  1. Open Google Maps and wait until the blue dot of your location appears on the map.
  2. Click on the dot and a menu with coordinate information will appear.
  3. Tap Calibrate the compass and follow the instructions on the screen (usually you need to rotate the phone in the air, describing the โ€œeightโ€).
What if there are no satellites at all?
If after calibration the smartphone still does not see the satellites, check: 1. antenna GPS โ€” Physical damage to the body can block the signal. 2. Updates to the firmware - in older versions MIUI were bugs with GPS-Module (especially on Redmi Note) 8/9). 3. Regional settings โ€“ if you are traveling, change region to Settings โ†’ Additionally. โ†’ Region to local.

Hidden Developer Settings to Improve GPS

MIUI has hidden parameters that allow you to speed up satellite search and improve geolocation accuracy.

  1. Go to Settings. โ†’ The phone.
  2. Tap 7 times on the MIUI version - a notification will appear "You became a developer".
  3. Return to the main settings menu and open Additional โ†’ for developers.

Now find and enable the following options:

ParameterRecommended valueThe effect
GPS-loggingIncluded.Stores satellite data to speed up re-search.
Maximum GPS frequency10 HzIncreases accuracy of movement tracking (useful for activity trackers).
Use GPS only (disable A-GPS)Disconnected.Allows you to use mobile network data to speed up search.
Debugging by USB (for GPS-tool)Included (optional)It allows you to use software like GPS Test for diagnostics.

Note: changing the setting "Maximum GPS frequency" to values above 5 Hz can lead to overheating of the processor on budget models (Redmi 9A/10A). If the smartphone starts to warm, return the value to 1-5 Hz.

Solving geolocation problems in specific applications

Sometimes geolocation works in some applications (like Google Maps) but doesn't work in others (like Uber or Delivery Club), which is due to individual permissions or cache conflicts.

  • ๐Ÿ“ฑ Cache Clearing: Go to Settings โ†’ Annexes โ†’ [Title of the annex] โ†’ Warehouse โ†’ Clear the cache.
  • ๐Ÿ”„ Reset permissions: in the application settings tap Permissions โ†’ Reset and re-access geolocation.
  • ๐Ÿ“ฒ Reinstall: Remove the app, restart the smartphone and install it again.

There is an additional trick for Google Maps:

  1. Open the app and tap on your avatar in the upper right corner.
  2. Select Settings โ†’ Navigation settings โ†’ Navigation mode.
  3. Install Transport (even if you are a pedestrian) and it will force the app to use the maximum number of satellites.

๐Ÿ’ก

If the geolocation problem is only manifested in one application, 90% of cases are solved by cache cleaning or reinstallation.

What do you do if nothing helps?

If youโ€™ve tried all the ways, but the geolocation on Xiaomi is still unstable, the reasons may be hardware:

  • ๐Ÿ“ก Damaged. GPS-module (often after falls or moisture ingestion).
  • ๐Ÿ”‹ Worn-out battery - with a low charge (<15%) MIUI It is power-intensive to power functions, including GPS.
  • ๐Ÿ“ถ Problems with the antenna (relevant to Poco) X3, Redmi Note 10, where the antenna is located at the top of the body).

To diagnose hardware problems:

  1. Install the GPSTest app and check how many satellites the smartphone sees. If there are <5 of them when in open areas, the module is a problem.
  2. Connect to the PC and with help ADB Execute the command: adb shell dumpsys location In the conclusion, find the line GpsLocationProvider: enabled=If false โ€” GPS-module is disabled at system level.

If the diagnostics confirmed a hardware malfunction, contact the service center. GPS-Xiaomi module is complicated due to the compact layout of the boards and the risk of damage to other components (for example, a camera or microphone).

๐Ÿ’ก

Before visiting the service center, back up your data via Settings โ†’ About Phone โ†’ Backup โ€“ repairs may require a factory reset.

FAQ: Frequent questions about geolocation on Xiaomi

Why does geolocation work in Google Maps but not in other apps?
This is due to individual application permissions. For example, Uber or Yandex.Taxi may not be allowed to access the exact location. Check: Settings โ†’ Applications โ†’ [Application Name] โ†’ Permissions โ†’ Geolocation โ€“ it should be โ€œAlways.โ€ The app itself (in its settings) may have a separate switch to use GPS. Some applications (such as Tinder) also require mobile data to be enabled to determine location, even if you are connected to Wi-Fi.
How to turn off geolocation for all applications except the navigator?
V MIUI You can flexibly manage permissions: Open Settings โ†’ Privacy โ†’ Permits โ†’ Geolocation. Tap on Application Permissions. Select each application: ๐Ÿš— ยซAlways for navigators (Google Maps, Yandex.Navigator). ๐Ÿ“ฑ ยซOnly during use" - for social networks (Instagram, VK). โŒ ยซDisallow" - for unnecessary applications (games, instant messengers) This will save battery without sacrificing navigation.
Can geolocation be used without the Internet?
Yes, but with reservations: ๐Ÿ“ก GPS It works without the Internet, but the first determination of coordinates can take up to 10-15 minutes (satellite data is downloaded in advance if you have a network). ๐Ÿ—บ๏ธ Maps in offline mode (such as Google Maps) will show your location, but will not be able to build a route without the Internet. ๐Ÿ“ Accuracy will be lower โ€“ without data of mobile networks and Wi-Fi error can reach 50-100 meters. For offline navigation, download maps of the desired regions in Google Maps or Osmand in advance.
Why does geolocation drain the battery quickly?
GPS-The module is one of the most energy-consuming components of a smartphone. Xiaomi's battery consumption is increased due to the fact that the battery consumption is increased by the smartphone: ๐Ÿ”‹ High accuracy modes โ€“ Wi-Fi, mobile networks and satellites are constantly scanned. ๐Ÿ“ฑ Background activity of apps (e.g. Google Play Services can consume up to 20% charge per day). ๐Ÿ“ก Weak signal -- if your smartphone is having trouble catching satellites, it's using more power to search. To cut down on the cost, switch to Charge Savings mode in geolocation settings. Turn off GPS, When you don't need it (for example, through the notification bar). Use Greenify or AccuBattery to force background processes to stop.
How to reset geolocation settings to factory?
If youโ€™ve experimented with settings and want to return everything to its original state: Open Settings โ†’ System system โ†’ Settings reset. Select App Settings Reset (this won't delete your data, but it will reset the default permissions and settings). Reset your smartphone. Once reset, you'll have to reset the application permissions and enable geolocation. โš ๏ธ Warning: if the problem was in the hardware (damaged) GPS-module, resetting the settings will not help.