Kolobok settings

GPS operation in the background on a Xiaomi phone

For an app like "Kolobok" to use GPS in the background (for navigation, tracking, etc.), you need to grant it special permissions. Here is how to configure it:

1. Grant "Allow all the time" Permission

This is the main setting for background location access.
  1. Go to SettingsAppsManage apps.
  2. Find and select "Kolobok".
  3. Tap "Permissions".
  4. Find the "Location" permission.
  5. Select "Allow all the time" (instead of "Allow only while using the app").

2. Disable Battery Optimization for the App

As described earlier, battery optimization can stop background processes.
  1. Go to SettingsBatteryBattery optimization.
  2. Find "Kolobok" in the list.
  3. Select "Don't optimize" or "No restrictions".

3. Enable Autostart (Optional but Recommended)

This allows the app to restart its services (which may include location) after the phone reboots.
  1. Go to SettingsAppsAutostart.
  2. Enable the toggle for "Kolobok".

4. Important Notes for Xiaomi/HyperOS:

  • Even with these settings, the system may still limit background activity if the app is not actively used for a long time to save power.
  • For reliable continuous tracking (e.g., fitness apps), it's best to lock the app in the Recent Tasks view (swipe up and hold, then tap the lock icon).
  • The exact names of menu items may vary slightly depending on your MIUI/HyperOS version and region.
Result: After these steps, the "Kolobok" app will have the necessary permissions to access your phone's GPS and maintain its operation even when it's in the background or the screen is off.