Since the middle of the year, several users have complained about the appearance of a rather annoying failure in their Redmi Note 9 that, in addition, damages the battery life of the mobile. The problem appears in several iterations of MIUI, especially in version 11.0.5.0 or in MIUI Global 12.0.2 stable and implies that the screen turns on at all times , although from the mobile settings we have configured that this is not so.

With the options to suspend screen activated and not turn it on when lifting the smartphone, the failure continues to be replicated in numerous Redmi Note 9 models. Users have complained about this in the Xiaomi forum since a user, back in June 2020, He commented that when he picked up the phone, the screen turned on without even touching the power button, all with the “lift to activate” option disabled. After this message, many other customers of the brand expressed their same frustration.
The same happens to me. I’ve had it for a week. and always did
——
Hi! I just bought a normal note 9 and the same thing happens to me, the lock screen turns on even if the lift option is disabled. I have restored the initial values of the mobile but it keeps happening to me, I was not asking about updates.
——
I have factory reset about 10 times and it does not install me other system than MIUI global 12.0.2 stable. I have tried everything and the problem continues.
——
I just received it with version 11.0.5.0 (QJOEUXM), and it gives me the same problem.
What is the origin of the problem and its solution?

Apparently the problem is that the affected users have a previous configuration on their phones that, when updating to a new version of MIUI, generates a conflict that causes this bug to appear. Therefore, the solution found by the victims of this failure is to restore the smartphone from scratch , but without restoring the previous data, that is, without reinstalling the content present in a backup copy.
After factory resetting my device several times without being able to remove the latest MIUI update (MIUI Global 12.0.2 stable), I found that the problem started to occur after restoring my previous data.
In this way, to prevent the screen of the Redmi Note 9 from turning on when you get up, you will have to do a hard reset (of course, it is mandatory to make a backup of your data beforehand so as not to lose it in the process, just in case.) the mobile turns on and asks you to restore the configuration from an old backup, do not do it. You can restore apps, contacts, documents, multimedia, etc … but not the settings of the previous mobile.
In this way you will have to reconfigure the WiFi networks, the social network accounts, pair the Bluettoh devices and all kinds of settings you have on your smartphone.
Source>Xiaomi Community