We can view and edit the location usage of apps on the Xiaomi smartphone. If an app has been granted location usage, we can revoke that permission at any time if desired. The following location access options can be set individually for each app:

Android 10 (MIUI 12.0)
Step 1:  Open the  Settings
Step 2:  Tap on  Location
Step 3:  Tap on  App permission
Step 4:  Choose an  app
Step 5:  Choose  Allow only while using the app  or  Deny
  1. Open the Settings
  2. Tap on Location
  3. Tap on App permission
  4. Choose an app
  5. Choose Allow only while using the app or Deny

Xiaomi Instructions