An innovative feature that automatically clears cache when the screen turns off.
Here's how to clear cache when the screen turns off on Xiaomi Redmi Note 5A:
Step 1: Access the Pin settings.

Step 2: Access settings.

Step 3: Access cache clearance and choose the time for automatic clearance.

That completes the setup, wishing you all success.