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:
- Open Settings (the gear icon on the main screen).
- Go to the Screen section (or additionally โ Screen on some models).
- Select Sleep Mode (or Screen Timeout, Display Attenuation โ the name depends on the firmware version).
- 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:
- Turn on Developer Mode: Go to Settings โ About Phone and click on MIUI Version 7 times.
- Return to Settings โ Additional โ For developers and activate Debugging over USB.
- 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
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.
| Annex | Functions | Wants a Root? | Reference |
|---|---|---|---|
| Screen Timeout Settings | Quick switching between pre-configured values, widget on the home screen | โ No. | Google Play |
| Tasker | Automatic timeout change on schedule, geolocation, connection to Wi-Fi, etc. | โ No, but you need rights. ADB certain) | Google Play |
| Keep Screen On | Disable 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:
- Create a new profile โ Condition โ Nutrition โ Power source.
- Select Any (to react to the connection/disconnection).
- 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:
- Reboot your phone in Recovery Mode (usually Power + Vol Up when the device is off).
- Select Advanced โ File Manager.
- Move to the /system/build.prop and find ro.lge.proximity.delay=25 or ro.ril.power_collapse=1 (may be absent).
- Add it to the end of the file: ro.screen_off_timeout=60000 (where 60000 โ millisecond).
- 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.