How to set the screen fade time on Xiaomi: 5 proven ways

Why it is important to set the screen fade time correctly

The smartphone screen is one of the main energy consumers. Even in standby mode, the backlight of the display can eat up to 20-30% of battery power per day if the shutdown timeout is set to a maximum value. On the other hand, too short fading time leads to constant unlocking, which is annoying when reading or watching content.

In MIUI (branded shell Xiaomi), the setting of the screen time is hidden in an unobvious way - it is not in fast settings, as on the "bare" Android. Moreover, on different models (Redmi Note 12, POCO X5, Xiaomi 13T), the path to parameters may differ due to the firmware versions. In this article, we will analyze all the current methods, including hidden functions for power users.

It is especially critical to properly configure attenuation on devices with AMOLED-screens (e.g. Xiaomi 14 or Redmi) K70). Here, each pixel consumes energy independently, and even a black background with active backlight discharges the battery faster than by a single hour. IPS-Older models like Redmi 9A.

Method 1: Standard MIUI settings (for all models)

This is a basic method that works on 99% of Xiaomi devices, including budget Redmi and flagship Xiaomi/POCO. Instructions are relevant for MIUI 12-14:

  1. Open Settings (the gear icon on the main screen).
  2. Go to the Screen section (or additionally โ†’ Screen on some models).
  3. Select Sleep Mode (or Screen Timeout, Display Attenuation โ€“ the name depends on the firmware version).
  4. Set your desired time from the options offered: 15 seconds to 10 minutes (on some devices 30 minutes or Never are available).

On POCO F5 and other MIUI devices for POCO, the path may be slightly different: Settings โ†’ System โ†’ Additional โ†’ Sleep. If you don't find a point, search for settings (the magnifier icon at the top of the screen) and enter a fade or sleep request.

โš ๏ธ Note: On some firmware (for example, MIUI Global 14.0.5 for Xiaomi 13 Lite) after the time is selected, an additional Adaptive Attenuation switch appears. If it is active, the system can ignore your settings by analyzing user activity.

Make sure you select a time from the list.|Turn off Adaptive Attenuation (if any)|Restart your phone to apply changes|Check your work after 1-2 minutes of inactivity-->

Method 2: Quickly configure via notification panel (MIUI 13+)

The latest versions of MIUI (starting with 13.0) have a convenient shortcut to change the fade time right out of the notification curtain, saving time if you often have to switch between different values (for example, 30 seconds in the afternoon and 2 minutes in the evening).

How it works:

  • ๐Ÿ“ฑ Swipe down from the top edge of the screen to open the notification bar.
  • ๐Ÿ” Find the Sleep Mode icon (usually next to brightness or Wi-Fi). If it's not, tap on a pencil (Edit) and add a shortcut manually.
  • โฑ๏ธ Click on the icon and select the right time from the drop-down list.

This method is not available on older versions of MIUI (up to 12.5) and some custom firmware (e.g. Pixel Experience), and the label may not be available on devices with MIUI for POCO if the manufacturer has removed it to "facilitate" the interface.

Once a week |Only when you buy a phone |Several times a day |Never changed-->

Method 3: ADB-commands for experienced users (advanced settings)

If the standard options (15c-10m) are not enough for you, you can set an arbitrary damping time through the ADB (Android Debug Bridge).

  • ๐Ÿ”ง Battery saving testing (e.g. set 5 seconds for experimentation).
  • ๐Ÿ“ฑ Devices with custom firmware, where the settings are confused.
  • ๐Ÿ”„ Automation (scripts to change time depending on the connected charger).

Instructions:

  1. Turn on Developer Mode: Go to Settings โ†’ About Phone and click on MIUI Version 7 times.
  2. Return to Settings โ†’ Additional โ†’ For developers and activate Debugging over USB.
  3. Connect your phone to your PC, open the terminal (or Command Prompt in Windows) and execute: adb shell settings put system screen_off_timeout 300000 Where 300000 โ€” time in milliseconds (in the example โ€” 5 minute).

To return the standard settings, use:

adb shell settings delete system screen_off_timeout

โš ๏ธ Note: Some custom firmware (for example, LineageOS for Xiaomi Mi) A3) can ignore ADB-In this case, you'll need to edit the file. /system/build.prop manually, which requires root rights.

List of popular values for ADB
30000 = 30 seconds 60000 = 1 minute 300000 = 5 minute 600000 = 10 minute 1800000 = 30 minute

Method 4: Third-party applications for flexible management

If you want to dynamically change the fade time depending on the conditions (for example, 1 minute on the battery and 10 minutes when connecting to the charge), standard MIUI settings will not help.

AnnexFunctionsWants a Root?Reference
Screen Timeout SettingsQuick switching between pre-configured values, widget on the home screenโŒ No.Google Play
TaskerAutomatic timeout change on schedule, geolocation, connection to Wi-Fi, etc.โŒ No, but you need rights. ADB certain)Google Play
Keep Screen OnDisable attenuation for specific applications (for example, for a navigator or a book)โŒ No.Google Play

For Tasker, weโ€™ll give you an example of a profile that sets 30 seconds when you disconnect from charging and 5 minutes when you connect:

  1. Create a new profile โ†’ Condition โ†’ Nutrition โ†’ Power source.
  2. Select Any (to react to the connection/disconnection).
  3. In the task, add the action of the Display โ†’ screen timeout and specify 300 (seconds) to disconnect from the network or 3000 to connect.

๐Ÿ’ก

If you use Keep Screen On, add it to the battery optimization exceptions (Settings โ†’ Apps โ†’ Permissions โ†’ Auto Run), otherwise MIUI may force it to close.

Method 5: Configure via Recovery Mode (for custom firmware)

If you have installed an informal firmware (such as ArrowOS or HavocOS) on Xiaomi, the standard fade time settings may not work, in which case editing the configuration file via TWRP or another custom Recovery will help.

Step-by-step:

  1. Reboot your phone in Recovery Mode (usually Power + Vol Up when the device is off).
  2. Select Advanced โ†’ File Manager.
  3. Move to the /system/build.prop and find ro.lge.proximity.delay=25 or ro.ril.power_collapse=1 (may be absent).
  4. Add it to the end of the file: ro.screen_off_timeout=60000 (where 60000 โ€” millisecond).
  5. Save the changes and reboot.

Important: This method requires root rights and can lead to bootloop if the build.prop file is corrupted. On devices with a locked bootloader (such as the official Xiaomi from China), editing system files is impossible without unlocking.

Frequent problems and their solutions

Even after setting it right, the fading time can get lost. Consider typical situations and ways to fix them:

  • ๐Ÿ”„ Settings reset after rebooting: Reason: conflict with cache cleaner applications (e.g. Clean Master) or energy-saving features MIUI. Solution: Turn off optimization for system applications in Settings โ†’ Battery โ†’ Optimizing the battery.
  • โณ Screen goes out before the set time: Adaptive sleep mode (see Method 1) or background processes are to blame. Check application activity in Settings โ†’ Battery โ†’ Battery utilization.
  • ๐Ÿ”‹ After updating MIUI Settings are missing: Xiaomi sometimes resets user settings when major updates (for example, with a new version of the app) MIUI Solution: Reset the setup again or use it ADB (see method 3).

โš ๏ธ Attention: On devices with MIUI EU (European firmware version may not have the option Sleep mode in the screen settings, in which case use the search by settings or ADB.

๐Ÿ’ก

If the screen goes out after 5-10 seconds, regardless of settings, check the proximity sensor. It may falsely fire due to a protective film or case.

Can I set the time of attenuation for more than 10 minutes?
In standard settings MIUI Maximum value is 10 minutes (on some models 30 minutes: ADB-command (see Method 3) by specifying a value in milliseconds (e.g., 3.6 million for 1 hour). Tasker application with the creation of a task to cyclic "wake up" the screen. Note that long fade time significantly reduces the resource AMOLED-screen-lighting.
Why did the MIUI update reset the fading time?
For major updates (e.g., MIUI 13 to 14), the system resets some custom settings for stability. This is typical for Xiaomi, Realme and other brands with custom shells. Solution: Reset manually (see Method 1). If the item is gone, use ADB (see Method 3). Check for updates for the Settings app on Google Play.
How to turn off the screen attenuation completely?
You can never install in two ways: through standard settings (if available in your version). MIUI). Through ADB: adb shell settings put system screen_off_timeout 2147483647 (maximum 32-Warning: Constantly switched on screen results in: Rapid battery discharge (up to) 50% post 2โ€“3 Overheating of the processor (especially on Snapdragon) 8 Gen 2 Xiaomi 13 Ultra. Burnout. AMOLED-Matrixes (the appearance of "ghosts" of static elements).
Is there a difference in settings for Redmi, POCO and Xiaomi?
Yes, the differences are due to MIUI: Redmi versions (e.g. Redmi Note 12): usually the standard MIUI Global with a full set of settings. POCO (e.g. POCO X5 Pro): a lightweight MIUI for POCO, where some items may be missing (e.g. Adaptive Attenuation). Xiaomi (e.g. Xiaomi 14): the latest version of MIUI with additional options (e.g., separate settings for-on Display). If your model does not support the desired function, try updating the firmware via Settings โ†’ About Phone โ†’ System Update.
How to reset the attenuation settings to the factory?
You can return the standard parameters in three ways: ADB: adb shell settings delete system screen_off_timeout Through resetting screen settings: Settings โ†’ System system โ†’ Resetting settings โ†’ Reset the screen settings (does not delete data!) Through a full phone reset (deletes all data!): Settings โ†’ The phone. โ†’ Resetting settings.