Important facts about MIUI
MIUI is a altered version of Android with plenty of additional features & tweaks not found in stock AOSP ROM.
MIUI is very smooth & has a great battery life on the Redmi Note smartphones.
MIUI by default is very aggressive at restricting background apps in the running in the memory, as a result it is unable to keep more than 3-4 apps in the memory while multi-tasking or after waking up the device.
Default settings are aimed to keep as much free RAM as possible thats where the problem lies. It restrict apps running in the background to keep most of its RAM free.
Apps get removed and have to be reloaded again from the flash storage into the memory, this takes a lot of CPU, I/O cycles & makes the end user experience less enjoyable.
Following settings might make your multitasking a bit better experience.
Usage Access Settings
- Settings App > Additional Settings > Privacy > Apps With Usage Access > More > Show System
- Turn off everything except Google Play Services and Play Store
- Settings App > Battery & Performance > Manage Apps Battery Usage > Power Saving Modes
- Off: All background data & location access of running apps will be enabled, less battery life
- On: Default Setting, more battery life
- Settings App > Battery & Performance > Manage Apps Battery Usage > Choose apps
- From there you can configure the background data & location services for each app.
- Settings App > Additional Settings > Battery & Performance > System Animations
- Hide System Animations: Speeds up device's performance
To enable Developer Options : Settings App > About Phone > MIUI Version > Keep on tapping till it is enabled.
- Settings App > Additional Settings > Developer Options
- Window Animation Scale: 0.5x or Off
- Transition Animation Scale: 0.5x or Off
- Animator Animation Scale: 0.5x or Off
- Don't Keep Activities : Disabled
- Background Process Limit : Standard Limit
- Memory Optimization : Off
- Show All ANRs : Disabled
- Force-Closed Apps : Disabled
- Turn On MIUI Optimization : Disabled
Security App Settings
- Security App > Settings > Cleaner
- Remind To Clean: Disabled
- Scan App Memory: Disabled
- Update Automatically: Disabled
- Security App > Settings > Blocklist > Disable
- Security App > Settings > Battery Usage
- Turn Off Mobile Data: Never
- Clear Cache: Never
- Security App > Permissions > Autostart
- Disable unnecessary apps, they wont be launched after a reboot
- Keep important apps enabled such as messaging, email apps
Lock Apps In Memory
- You can lock your desired / most frequently used apps in the memory.
- Open your app, let it get fully launched, open the recent apps menu.
- Swipe down the app icon or recent app screen to reveal a lock icon on top left corner.
- Tap on it, this locks the app into the memory & it wont get force killed in the background.
- To unlock the app repeat the same process and tap it again to unlock it from memory.
- After doing the above mentioned changes, restart your device.
- You might have to re-apply these changes after every MIUI OTA update.
- These settings have hardly any effect on the battery life.
- I am getting more or less the same battery backup after using these settings.
What does each and every option do?
- Show All ANRs : This option enables MIUI to show an obtrusive dialogue box after an app fails to stop responding . Setting this off doesnt show the pop-up frequently.
- Force-Closed Apps : This option enables MIUI to show an obtrusive dialogue box after an app force-closes unexpectedly. Setting this off doesnt show the message. It enables after every reboot.
- Turn On MIUI Optimization : This option enables a plethora of MIUI based settings & optimizations as per the guidelines set by the MIUI developers. It helps to load the app and the app data in parallel reducing load times and ensuring snappier user experience. This setting can sometimes cause a variety of issues on non-MIUI based apps such as Google Apps & Apps from Google Playstore. Its better to disable if you rely on Google Playstore for apps & services or use Global Stable or Global Beta MIUI ROMs
With the MIUI Optimization Enabled, some users reported the following issues
- Cannot set third-party launcher like Nova, Apex or Google Now launcher.
- Wallpaper cannot be set using in-built options via custom launchers.
- Occasional lags, stutters or freezes while scrolling web-pages & long lists.
- Custom apps set as default restore to default MIUI apps on reboot. (Only on MIUI China ROMs)
- Cannot set accessibility services on reboot.
- Background apps cannot sync data.
- Music players stop playing after sometime.
- UI Animations are not synced properly.
After turning off MIUI optimization
- Above issues may get solved.
- Settings > Data Usage > Graph changes to AOSP style.
- Settings > Battery & Performance > Battery Use > Graph changes to AOSP style.
- Settings > Installed Apps > All > Documents > It will not be disabled after every reboot.
- Settings > Additional Settings > Buttons > Settings may get reset.
- No OTA update notifications. Enable it to receive the OTA updates.