Technology

The tombstone mechanism that keeps iOS smooth, Android has it too

The tombstone mechanism that keeps iOS smooth, Android has it too

I believe many of you should have heard of the iOS tombstone mechanism, right?

This mechanism can record the state of these apps like a tombstone when we switch them to the background, and then freeze them so they don't grab CPU resources with the foreground apps.

When we cut back to the app, it restores the app to its pre-freeze state based on the records on the tombstone, and if the app hangs for a long time, it frees up more memory to reduce power consumption and heat.

The tombstone mechanism that keeps iOS smooth, Android has it too

It can be said that a large part of the reason why iOS is so smooth is thanks to the tombstone mechanism, which is the reason why iPhone 13 is still using 4G memory today in 2022.

Recently, when Secho had nothing better to do than to browse Kuan, he discovered that Android can actually implement a tombstone mechanism similar to that of iOS.

The tombstone mechanism that keeps iOS smooth, Android has it too

And according to the feedback of the cool Anki people, Android is unexpectedly good after opening the tombstone mechanism, many people said that the phone heat and power consumption is reduced a lot, while the phenomenon of killing the background is not so serious:.

The tombstone mechanism that keeps iOS smooth, Android has it tooThe tombstone mechanism that keeps iOS smooth, Android has it tooThe tombstone mechanism that keeps iOS smooth, Android has it too

With curiosity, Shi Chao also tried it on his own phone and didn't expect it to work.

Before I turned on the tombstone mechanism, I had WeChat, Weibo, Baidu Maps, WeChat Reading and other apps open in the background of my phone, and you can see that they are still taking up some CPU resources even in the background.

The tombstone mechanism that keeps iOS smooth, Android has it too

After I turned on the tombstone mechanism, the CPU usage of these apps, which had been hung in the background, went to 0%, which had an immediate effect.

The tombstone mechanism that keeps iOS smooth, Android has it too

Of course, this situation is not absolute.

As I continued to open other apps, I noticed that sometimes one or two processes might continue to occupy the CPU in some apps, but the percentage of occupancy was very small, basically under 5%.

The tombstone mechanism that keeps iOS smooth, Android has it too

After the CPU resources of these background apps were freed up, the most obvious feeling I got was that my phone was finally not stuck when I opened multiple apps in a row, and the phone didn't get too hot during the whole process!

Before, the system would drop frames and lag after I opened seven or eight apps in a row, the phone would start to heat up, and by the time I opened more than ten apps, the gestures would become unhelpful.

The tombstone mechanism that keeps iOS smooth, Android has it too

But then again, it's not without its disadvantages to turn on this feature.

Some people feedback that instant messaging software such as WeChat, even if you put it in the background, you may not receive the message or there is a delay in the message; there is also the App cut to the background may pause the download file.

At least my phone did not encounter the previous two cases, and the CPU usage of WeChat will immediately go up once the message comes.

The tombstone mechanism that keeps iOS smooth, Android has it too

In short, I suggest that you are using Android phones in the poor friends can try in their own, feel the effect is not great or affect the experience of the big deal to close it again.

Next, Shi Chao will tell you exactly how to turn on the tombstone mechanism on your Android phone.

Before opening, we need to go to the phone settings to find the system version number, click the version number several times until the system prompts " you are already in developer mode", and then go to the developer options page:.

The tombstone mechanism that keeps iOS smooth, Android has it too

In the developer options, we need to find the option " Suspend execution of cached applications ", and after choosing to enable it, restart the phone once, which is the same as turning on Android's tombstone mechanism:.

The tombstone mechanism that keeps iOS smooth, Android has it too

If you don't find this option in your phone's developer options, it's most likely because the manufacturer has blocked this feature in the system, so we need to use a third-party tool to turn it on.

The third-party tool is a little tricky to open the tombstone mechanism, first we have to download a wireless debugging tool Shizuku in KUAN, and then follow the tutorial and tips provided by this App to activate Shizuku:.

The tombstone mechanism that keeps iOS smooth, Android has it too

After successful activation, we also have to download an Agile Toolbox from Kuan and grant the appropriate permissions to this software:.

The tombstone mechanism that keeps iOS smooth, Android has it too

Among these permissions, the basic ones we can authorize directly.

The "Modify System Security Settings" permission requires the help of Shizuku in order to be authorized successfully.

The tombstone mechanism that keeps iOS smooth, Android has it too

Then you can find the "Suspend cached apps" option in the system-related settings of the Agile Toolbox, select "Start at any time" and reboot the phone once, and you're done.

The tombstone mechanism that keeps iOS smooth, Android has it too

Overall, I personally feel that Android is still quite open and gives us such an option, since there is, we might as well try, there may be unexpected surprises, thank you for watching!