Zenly has become one of the most popular services for tracking the location of friends in real time, but many Xiaomi users face a problem: the application stops updating data as soon as it folds into the background mode. The reason for this is the aggressive optimization of the battery in the MIUI firmware, which automatically suspends background processes. In this article, we will discuss the unique settings of MIUI 12-15, which allows you to bypass the limitations of the system and make Zenly work consistently 24/7.
The problem is especially relevant for owners of smartphones Redmi Note 10/11/12, POCO X3/X4/X5 and flagship Xiaomi 12/13/14, where the energy saving policies are as stringent. We tested all methods on devices with MIUI Global, MIUI Europe and HyperOS β the results are different, so in this article we will give solutions for each version. If you are tired of the constant notifications βZenly did not update for 3 hoursβ, follow the instructions below.
Why is Zenly not running in the background on Xiaomi?
The main reason is MIUI optimization algorithms, which block the background activity of applications to save charge. Unlike pure Android, Xiaomi firmware uses three levels of constraints:
- π Conventional battery optimization β suspends applications after 5-10 minutes in the background.
- β‘ Aggressive Optimization (on by default) β kills processes in 1β3 minutes.
- π‘οΈ Privacy protection β blocks access to geodata in the background (relevant to the MIUI 14+).
Zenly requires constant access to precise location, mobile data/Wi-Fi and background processes. Even if you manually allowed all permissions, the system can reset them after rebooting or updating. For example, on POCO F4 with MIUI 13.0.6, we recorded an automatic shutdown of Zenly autostart after 48 hours - a firmware bug that is only fixed by a complete reset of the application settings.
Preparation: Check the current settings Zenly
Before you make changes to the system, make sure the application itself is configured correctly. Open Zenly and check:
- Go to Profile β Settings β Privacy.
- Make sure that options are included: π Permanent access to location (not "only during useΒ»). π Auto-Update Location (interval: "Frequently" or "AlwaysΒ»). πΆ Use mobile data (if switched off, Zenly only updates over Wi-Fi).
Return to the main menu and check the status in the upper right corner β if it says βUpdated X minutes agoβ, then the application is already working in the background.
If the status is not updated, go to the MIUI settings. On the Redmi Note 11 Pro+ with MIUI 14.0.3, we detected a bug: when the Traffic Saving mode is turned on, Zenly stops sending data, even if everything is allowed in the application settings. The solution is to disable savings in Settings β Connections and Sharing β Traffic Saving.
π‘
If Zenly doesnβt update the location, try manually pulling the screen down in the main window of the app β this force triggers synchronization.
Disable battery optimization for Zenly
The most critical step is to remove Zenly from the list of optimized applications, and MIUI does this in two steps:
Step 1: Disabling Standard Optimization
- Go to Settings β Applications β Application Management.
- Find Zenly on the list and tap it.
- Choose Battery Optimization β No restrictions.
- Turn on the AutoRun switch (if you have one in your version of MIUI).
Step 2: Add Zenly to Secure Apps
This is the case for MIUI 12-14:
- Open Settings β Battery and Performance β Battery Consumption Management by Apps.
- Select Application Choices β Find Zenly.
- Set up a No Limits mode.
- Go back and turn on the Secure Apps option, then add Zenly to the list.
On HyperOS (e.g. Xiaomi 14), the path is different: Settings β Applications β Special Access β Battery Optimization β Zenly β No Limits.
Optimization disabled for Zenly|Zenly in the list of secure applications | Autorun enabled |Previous mode allowed-->
Set up autostart and background activity
Even after the battery optimization has been turned off, MIUI can block Zenly from auto-starting after the device has been restarted.
- Go to Settings β Applications β Application Management β Zenly β Autorun.
- Turn on the AutoRun switch (if it is turned off in gray, then this option is blocked on your firmware - see the solution below).
- Return to the main settings menu and open Settings β Privacy β Special permissions β Auto Run.
- Find Zenly and turn it on auto-start.
ADB-force-run
Important: After the MIUI update, all autorun settings are reset, and we recommend checking them after each firmware update.
Permits for exact location
Zenly requires constant access to geodata, but MIUI by default restricts it.
- Open Settings β Privacy β Permits β Location.
- Find Zenly and select Always mode (not "Only during use").
- Back to Settings β Annexes β Zenly β Permits and make sure that included: π Location (continuing). πΆ Mobile data (background mode). π Automatic launch.
MIUI 14+ has a new option, Accurate Location, which must be enabled separately: Settings β Privacy β Permissions Management β Precise Location β Zenly β Enable.
π‘
If Zenly doesnβt update location, check not only the in-app permissions, but also the MIUI system settings β they can block background access.
Note: on Xiaomi 13 Ultra with HyperOS, we encountered a bug when, after resetting the location settings, Zenly stopped seeing GPS satellites.
Additional tricks for stable work
If Zenly falls asleep after all the settings, try these methods:
| Problem. | Decision | Applicable to |
|---|---|---|
| Zenly doesn't update at night | Turn off the adaptive battery in Settings β Battery | MIUI 12β14 |
| App dyes when clotting | Clear Zenly cache in Settings β Apps β Zenly β Storage | All versions. |
| No notifications of friends come in. | Enable Display Notifications in Zenly and MIUI Settings | MIUI 13+ |
| Zenly doesnβt work on mobile data | Turn off traffic savings in settings SIM-map | HyperOS |
For users POCO F3/F4 s MIUI 13 There's a non-obvious life hack: add the Zenly widget to the home screen, which forces the system to keep the app active, and disabling the Cleanup function will also help. RAM in the security settings (Settings) β Annexes β Cleanup).
π‘
If Zenly stopped updating after the MIUI update, try rolling back to the previous firmware version via Fastboot β new builds often feature bugs with background processes.
What do you do if nothing helps?
If all of the above methods fail, radical measures remain:
- π Reinstall Zenly: Delete the app. Clean the folder /Android/data/com.zenly Install Zenly again and issue all permissions immediately.
- π± Reset application settings: Go to Settings β System system β Resetting settings β Reset application settings.This will remove all permissions, but often solves problems with background work.
- π οΈ custom-made firmware MIUI: Install. MIUI Europe or Xiaomi.eu β in these builds, battery optimization is less aggressive.