Xiaomi
To ensure your app functions smoothly on Xiaomi devices, follow these steps to configure the appropriate settings. This will help your app run background tasks without unnecessary interruptions.
Step-by-Step Guide:
Lock the App in Recent Apps
Swipe up to access Recent Apps.
Long press on your app and click on the lock icon. This will prevent the app from being cleared from memory.
Enable Background Autostart
Open Settings.
Use the search bar to find Background Autostart.
Enable Autostart for your app to allow it to run background tasks automatically.
Request Ignore Battery Optimization Permission
Ensure your app requests the Ignore Battery Optimization permission.
This permission can help maintain your app's performance by preventing battery-saving features from restricting background activities.
Note: Settings may vary across different Xiaomi models or firmware versions, so it is recommended to periodically check and confirm them on various devices.
Last updated
Was this helpful?