Information

Troubleshooting – Android: App Running in the Background

Modern Android phones restrict background app activity by default to conserve battery life. The system can pause processes, limit GPS and network connections, and even close apps when the user switches to another app or the screen is locked.

To ensure Uniti runs properly in the background (e.g., for location, sessions, and GPS):

General Instructions (Android):

  • Open Settings.
  • Go to Apps & Notifications.
  • Select Uniti from the app list.
  • Open the Battery Usage section.
  • Find the Battery Optimization option and set:
    • Don’t optimize or
    • Unrestricted.

When an app is marked as “Not optimized,” Android will not restrict its background activity, which is crucial for maintaining sessions and notifications after exiting the app interface.

In addition to disabling battery optimization, some phones (Samsung, Huawei, Xiaomi, OnePlus, etc.) have their own power saving mechanisms:

  • Disable system battery saving (Battery Saver / Power Saving Mode).
  • On Samsung phones and related systems, check “Sleeping Apps” / “Background usage limits” and remove Uniti from the automatic sleep list.
  • On MIUI/Huawei, disable “Manage automatically” and enable Auto-launch / Run in background for Uniti.

These settings help ensure that the system doesn’t kill apps after a while of inactivity.

Problem:
The app runs briefly in the background, but then loses connection or GPS tasks stop.

Troubleshooting Solution:

  • Make sure Uniti has full location permissions: “Always allow / Allow all the time” in Location permissions.
  • In some Android models (especially newer ones, e.g. Android 14/15), even with optimization disabled, the system may still restrict apps – then the user must enable “Allow background usage” / “Unrestricted” or confirm it manually in the battery settings.

When the Uniti app:

  • doesn’t work after exiting the screen,
  • stops after a few minutes,
  • doesn’t send GPS updates in the background,

In battery settings, the user should:

  • Disable battery optimization for Uniti (Battery Optimization → Don’t optimize / Unrestricted).
  • Turn off general battery saving (Battery Saver).
  • (Optional) In manufacturer systems, remove Uniti from the list of suspended/restricted applications.