We can choose to have a downloaded update automatically installed on the Xiaomi smartphone, and if so desired, updates will be installed during the night when the device is not in use.

Android 10 (MIUI 12.0)
Step 1:  Open the  Settings
Step 2:  Tap on  About phone
Step 3:  Tap on  MIUI version
Step 4:  Open the  menu
Step 5:  Tap on  Update settings
Step 6:  Enable or disable  Install automatically
  1. Open the Settings
  2. Tap on About phone
  3. Tap on MIUI version
  4. Open the menu
  5. Tap on Update settings
  6. Enable or disable Install automatically

Xiaomi Instructions