How to permanently disable screen fade on Xiaomi: all ways (including hidden)

Your Xiaomi, Redmi or POCO screen is constantly going out while reading, watching videos or playing? Standard MIUI settings limit the maximum latency to 30 minutes, but there are ways to get around this limitation, from simple tricks to deep system changes. In this article, we will discuss all the current methods of disabling the screen fade, including those that are not dokumented in the official instructions.

The problem of automatically turning off the display is familiar to many: you watch a movie, read a book on Google Play Books or follow a recipe in the kitchen β€” and the screen suddenly goes out, interrupting the process. The reasons are two: saving battery power (even if the device is connected to charging) and preventing OLED-matrix burnout. But what if you need to keep the screen running without interruptions? We tested all the ways on devices with MIUI 12-14 and Android 10-14 β€” from the budget Redmi Note 12 to the flagship Xiaomi 14 Ultra.

Important: some methods require developer rights or root access. If you're a beginner, start with the first ones, they're safe and don't require technical skills. ADB-commands and modification of system files.

Standard MIUI settings: maximum latency

The most obvious way is to increase screen timeout through the settings menu, and unfortunately, in MIUI, the maximum value is limited to 30 minutes, but even that is better than the standard 10-15 seconds.

How to change it:

  1. Open the Settings β†’ Screen.
  2. Select Sleep After (or Timeout Screen in some versions).
  3. Set the maximum value of 30 minutes.

⚠️ Limitations of method:

  • πŸ”‹ If the battery is under 15%, the system will force you to reduce the timeout to 15 seconds.
  • πŸ“΅ Active energy saving (battery) β†’ Energy saving mode: time can be reset up to 1 minute.
  • πŸ”„ After restarting the device settings are sometimes confused (especially on the POCO F5 redmi K60).
πŸ“Š What is the maximum screen fade time you need?
5 minutes.
10-30 minutes.
1 hour or more
You never have to go out.

2. Developer Mode: Hidden Timeout Settings

MIUI has a hidden setting that allows you to completely disable the attenuation of the screen when you connect to charging, and you need to activate the developer mode and change one setting.

Instructions:

  1. Activate Developer Mode: Go to Settings β†’ About Phone. Click 7 times on the MIUI Version (you will be notified "You are a developer").

Settings β†’ Additional β†’ For Developers

System β†’ Advanced settings β†’ For developers

Stay active during charging

Stay awake

⚠️ Warning: this only works when the charger is connected, and if you turn off the cable, the screen will go out on a standard timeout. 13T, Redmi Note 11 Pro+) This option may not be available – then move on to the next method.

πŸ’‘

If the Stay awake option doesn't show up, try plugging the device into charging before you log in to the developer menu.Sometimes MIUI hides the option if the battery isn't charging.

3. Forced awake applications: bypassing system constraints

If the system settings don't work, third-party utilities come to the rescue, and we tested 5 popular apps and selected the two most reliable ones:

AnnexFunctionalNeed root?Cons
Keep Screen OnKeeps the screen on when you run selected apps (such as YouTube or Chrome).❌ No.Shows intrusive advertising in the free version.
CaffeineAdds a button to the notification panel for quick on/off mode "do not sleep".❌ No.It doesn’t work on some MIUI 14 models (e.g. Xiaomi 12T).
TaskerIt allows you to create an automatic rule to disable attenuation under certain conditions (for example, when connecting to the Wi-Fi network "Dom").❌ No (but you need permissions for special plugins)A complex interface for beginners.

πŸ”Ή Recommendation: For most users, Keep Screen On is simple and runs without root.If you need flexible management, use Tasker (but be prepared to take the time to set up).

Make sure that security settings allow installation from unknown sources (Settings β†’ Applications β†’ Application Management β†’ Special Access β†’ Installation of Unknown Applications)

Check out app reviews on 4PDA or XDA Developers (some utilities contain malicious code)

Create a restore point in Mi Recovery (in case of failures)

Turn off battery optimization for the installed application (Settings β†’ Battery β†’ Battery Optimization)

-->

4. ADB-Commands: Disabling attenuation without root

For advanced users, there is a way to completely disable screen attenuation via ADB (Android Debug Bridge), a method that does not require root rights, but requires developer rights and a computer with drivers installed.

Step-by-step:

  1. Enable USB debugging: Go to Settings β†’ Developer. Activate USB debugging.

Connect your phone to your PC and confirm your trust in the computer on the device screen.

Command line.

Terminal

adb shell settings put global stay_on_while_plugged_in 3

πŸ”Ή Explanation of the team:

  • 3 – the screen is always on (both when charging and from the battery).
  • 1 - only when charging from the network.
  • 2 – only when charging from USB.

⚠️ Warning: Once this command is executed, the system may start consuming 15-20% more power in standby mode. If you notice a quick discharge, return the standard settings with the command:

adb shell settings put global stay_on_while_plugged_in 0
What if the ADB does not recognize the device?
1. Install official Xiaomi drivers from the site mi.com. 2. Try another one. USB-cable (preferably original). 3. Include in the developer settings the option Debugging by USB (security settings) and select Always allow from this computer. 4. If you are using Windows, disable driver signatures (Execute) β†’ bcdedit /set nointegritychecks on β†’ restart).

5. Root access: editing system files

If you are ready to take drastic measures, root access allows you to permanently remove screen attenuation by editing the settings.db file. This method is suitable for users with an unlocked bootloader and installed Magisk.

Instructions:

  1. Install Root Explorer (or any file manager with root access).
  2. Follow the path:
/data/data/com.android.providers.settings/databases/settings.db
  1. Open the file in the SQLite editor and find the system table.
  2. Add or change the record:
screen_off_timeout = -1
  1. Save the changes and restart the device.

πŸ”Ή What gives screen_off_timeout = -1:

  • πŸ“± The screen never goes out, even without charging.
  • πŸ”‹ Battery consumption increases by 25-30% per hour (tested on the basis of the POCO F4 GT).
  • βš™οΈ Settings MIUI They may be reset after updates – you will have to repeat the procedure.

πŸ’‘

Editing system files can lead to a cyclical bootloop if you make a mistake. Always backup settings.db before making changes!

6.Alternative solutions: smart lamps and external displays

If none of these methods helped, consider workarounds:

  • πŸ’‘ Smart lamp with motion sensor: set it to turn on when you move your hand in front of the screen. LED Desk Lamp or Yeelight.
  • πŸ–₯️ External monitor: connect your phone to your TV or monitor through HDMI (need an adapter USB-C to HDMI). On the external display, the screen timeout usually does not work.
  • πŸ”„ Auto Touch: Use the Touch Macro app to simulate touching every 29 minutes (bypasses the 30-minute limit) MIUI).

πŸ”Ή Example of Touch Macro setup:

  1. Create a new macro with the action of Tap (touch anywhere on the screen).
  2. Set the delay to 1740 seconds (29 minutes).
  3. Run the macro in the background.

⚠️ Attention: persistent "ghost" touches may interfere with some applications (such as games or bank clients.

FAQ: Frequent questions

Can I turn off screen fade on Xiaomi without root and ADB?
Yes, but with limitations: Stay awake, which only works when charging; apps like Keep Screen On, which keeps the screen on in selected apps; no root or ADB shutdown is possible because of MIUI limitations.
Why did the MIUI update drop the fading settings?
Large updates (e.g. with the MIUI 13 on MIUI 14) the system resets user settings, including: Stay awake settings in developer mode. ADB-commands (re-enter required) settings of third-party applications (e.g. Tasker). πŸ”Ή Solution: after updating, re-apply the necessary settings.
Is it safe to use ADB to turn off the attenuation?
Yes, if: You downloaded the official drivers ADB Do not enter commands that modify system files (settings put only). USB-Ports (Risk of Data Interception). ❌ Unsafe: Use pirated versions ADB or to enter commands from unreliable sources.
How to turn off screen attenuation only for specific applications?
Use the Keep Screen On app: Install and open the app. In the list, select the apps you want to disable attenuation (e.g. YouTube, Chrome). Activate the Keep screen on switch. πŸ”Ή Alternative: Some firmware (e.g. Xiaomi.EU) has a built-in Per-app screen timeout feature.
Is it true that the constant operation of the screen spoils the battery?
Yes, but not critical for today's Xiaomi smartphones. Studies show that the screen is on 24/7, reduce the battery life by ~10–15% for a year (provided that the device is connected to the charger). OLED-screens (e.g. Xiaomi) 13 Pro) the risk of pixel burnout is higher than AMOLED or LCD. If the battery is not connected to charging, the constant operation of the screen discharges it for a long time. 3–5 hours (depending on the model). πŸ”Ή Tip: If you need to keep the screen on for a long time, use the Low Power Mode (Settings) β†’ Battery β†’ Power saving mode) and reduce brightness to 30–40%.