Xiaomi’s Android customization is called MIUI and it’s one of the most troubled customizations of Android. To improve Antidote on a Xiaomi device follow theses steps:
App Pinning / Locking
- Open Antidote
- Open recent apps tray
- Based on your model:
- Option 1: drag Antidote downwards (it will be locked).
- Option 2: long-press Antidote and then choose the padlock icon from the menu
Battery Optimizations
To let your app run in the background, make sure settings for your app look like the following:
MIUI 10, 11, 12 and above
- Go to Settings > Apps
- Select Antidote
- Enable AutoStart
- Tap on Battery Saver
- Select No Restrictions
Power management
- Go to Settings > Advanced Settings > Battery manager
- Set Power plan to Performance
- Add Antidote as Protected
- Go to Settings > Apps > Antidote > Battery:
- Power-intensive prompt and Keep running after screen off
- Go to Settings > Additional Settings > Battery & Performance > Manage apps’ battery usage and here:
- Switch Power Saving Modes to Off
- Choose the next options: Saving Power in The Background > Choose apps > select Antidote > Background Settings > No restrictions
App battery saver
- Go to Settings > Security > Battery > App Battery Saver
- Select Antidote
- Set to No restriction
MIUI Optimizations
MIUI Optimizations are not Android standard optimizations that might affect the performance of certain apps. It is reported to be present on MIUI 12 so far, but it is possible this option is present on older versions too.
To disable it, you need to:
- Enable Developer Settings:
- Go to Settings > About
- Tap 10 times on MIUI version
- A new Developer Options section will appear
- Go to Developer Options:
- Scroll Down
- Turn off MIUI optimization