Killing vs freezing: what HyperOS does to background apps
People often say HyperOS "kills" their apps, but two different things are going on, and each one has its own fix.
- Closing (killing). HyperOS ends the app, for example to free memory or when you clear Recents. The app is gone until something starts it again.
- Freezing. HyperOS pauses an app you aren't using to save battery. It stays in memory but can't run or receive push messages until HyperOS lets it run again.
An app can still show in Recents while it is frozen. Seeing it there doesn't mean it can receive messages.
Does clearing Recents kill apps on Xiaomi?
Yes. When you tap the clear button in Recents, HyperOS closes those apps (locked apps are skipped). A closed app has to start again when a message arrives, and on Xiaomi that needs Autostart. Xiaomi itself warns not to turn off autostart for apps you need notifications from.
You don't need to clear Recents to save battery. HyperOS already manages memory on its own, so it is fine to leave your apps there.
Other reasons HyperOS stops background apps
- Global Battery saver mode. Xiaomi says this mode freezes apps in the background. Check Settings → Battery → Current mode and choose Balanced if you need messages on time. Ultra battery saver limits the phone even more.
- The HyperOS 3 memory manager. Some HyperOS 3 users report that it closes apps aggressively. This is separate from freezing, and Autostart is what lets those apps come back.
- Pause app activity if unused. In App info, Android can pause apps you haven't opened for a long time. Turn it off for apps you rely on.
- Strict per-app battery options. Close apps after 10 minutes of background activity and Restrict background apps limit an app more than the default. Avoid them for chat and email apps.
Which settings help, and what do they cost?
- Autostart: Settings → Apps → Permissions → Background autostart (on some builds, App info → Autostart). This lets a closed app start again when a message arrives. It only costs battery when that app then does work, so turn it on for apps you need messages from, not for everything.
- Per-app battery: on HyperOS 4 China ROMs, open Security, tap the app, then Power. On other ROMs, long-press the icon, then App info → Battery saver. No restrictions keeps the app off the freezer and lets it run freely in the background, which uses more battery, and the cost adds up with each app.
- Lock in Recents: open Recents, long-press the app card and tap the lock (Xiaomi also describes Security → Settings (top right) → Boost speed → Lock apps in its FAQ). A locked app isn't cleared, but it stays running all the time and uses memory and battery.
Menu names change with HyperOS version, region and model. If a path doesn't match, search Settings for "autostart" or "battery".
What about dontkillmyapp and other guides?
dontkillmyapp.com has a long Xiaomi page. It has no HyperOS section, and many paths come from old MIUI (for example Security → Permissions → Autostart). The ideas still apply; the menus have moved.
Skip guides that ask you to run ADB commands or turn off "MIUI optimization". That option is now called system optimization, it is hidden in Developer options, and it is not a notification fix. See MIUI optimization on HyperOS.
A lighter fix for freezing: HyperKeep
HyperKeep is a free app made for Xiaomi, Redmi and POCO phones on the China ROM of HyperOS (imported phones from China, China-only models such as the Redmi K series, or phones flashed with a China ROM). To check, open Settings → About phone: a HyperOS version with CN near the end, like OS4.0.6.0.XPKCNXM, is the China ROM.
HyperKeep takes care of the freezing part. It adds the apps you choose, starting with Google Play services, to Xiaomi's no-freeze list, and puts them back in about 2 seconds whenever Xiaomi removes them. Your apps can stay on Battery saver (recommended) with no Recents locks. Keep Autostart on for the apps you need, and HyperKeep shows a tip if one of them has it off.
HyperKeep sleeps until it's needed. Android wakes it only when Xiaomi changes its list, and each fix takes a few milliseconds. HyperKeep makes late notifications much rarer; a few limits, like HyperOS's night-time sleep, are outside any app's control. See how it works.