Xiaomi Redmi 9 automatically goes out after 30 seconds of inactivity? This is standard MIUI behavior designed to save battery power. However, in some situations - such as reading long articles, browsing recipes in the kitchen or using the phone as a navigator - constantly turning on the screen becomes annoying. Fortunately, there are several ways to turn off auto-turning, and we'll look at them all, from built-in settings to hidden features for power users.
It is important to understand that completely turning off the screen timeout increases battery consumption. 15-25% hourly (by Redmi tests) 9 s AMOLED-So we recommend using these methods only when necessary, and in this article you will find solutions for both standard scripts and specific tasks, such as how to keep the screen on only in certain applications.
Standard MIUI settings: maximum latency
The easiest way to increase the time to automatically turn off the screen is to change the settings menu. On Redmi 9 with MIUI 12-14 firmware, the path looks like this:
- Open the settings β Screen
- Select the Sleep and lock screen
- Click Sleep Mode (or βTime Outβ in some versions)
- Set the maximum value of 10 minutes or 30 minutes (depending on the version of MIUI)
Note that on some Redmi 9 versions (e.g. Redmi 9A/9C), the maximum available value may be limited to 5 minutes, which is due to optimizations for budget models, in which case you will have to use alternative methods from the following sections.
β οΈ Note: If the screen still goes out after 30 seconds after changing the settings, check for energy-saving apps (e.g. Battery and performance). β Battery mode. Some profiles like "Super Savings" force you to shorten your screen timeout.
2. Developer mode: hidden opportunities
For those who are ready to dive into the Advanced settings, the developer mode offers additional options for controlling the screen.
- Go to Settings. β The phone.
- Find the MIUI version and tap it 7 times in a row
- Enter a pattern lock or password if required
- Return to the main settings menu β a new section for developers will appear
Two key options are now available:
- π Debugging by USB β will be necessary for methods of ADB (section)
- π± Do not turn off the screen β includes constant lighting when charging (path: For developers) β Keep the screen down)
The "Do not turn off the screen" option only works when the device is connected to the charger, which is convenient for using the phone as a media player or a navigator in the car, but for offline mode, other solutions will be required.
3. Applications for keeping the screen on
If the built-in settings don't work, third-party utilities will come to the rescue. We tested 5 popular apps on Redmi 9 with MIUI 13 - here are the best options:
| Annex | Features | Cons | Reference |
|---|---|---|---|
| Keep Screen On | Simple interface, background work, support for exceptions for applications | Advertising in the free version, sometimes works with a delay | Google Play |
| Caffeine | Minimalist design, notification-switch, low battery consumption | No fine settings, may conflict with MIUI-optimization | Google Play |
| Stay Alive! | Extended rules for individual applications, ADB support | A complex interface for beginners, requires additional permissions | Google Play |
To install any of these applications:
- Download APK from the official store (links in the table)
- When you first start, grant permission to Overlay over other applications (in the Special Opportunities settings)
- Enable the option βKeep the screen onβ in the application settings
β οΈ Note: Some apps (such as Stay Alive!) require you to disable MIUI Optimization in the developer settings. Without that, they may not work well. To disable optimization, go to Developer For. β Turn off optimization MIUI and reboot the phone.
Install APK from a verified source |
Grant permission for imposition |
Disable MIUI optimization (if required)|
Add an app to battery exclusions|-->
4. ADB-Teams: Full control of timeout
For users who are ready to work with Android Debug Bridge (ADB), there is a way to set any screen timeout value, up to and including a complete shutdown, which works on all versions of Redmi 9 (including 9A/9C/9T) and does not require root rights.
You'll need:
- π₯οΈ Computer with installed ADB-driver
- π± Included Debugging by USB on the telephone (section 2)
- π USB-cable (preferably original)
Step-by-step:
- Connect Redmi 9 to your PC and confirm debugging permission on your phone screen
- Open the command line (Windows) or terminal (macOS/Linux) in the folder with ADB
- Enter the command to check the connection: Adb devices should appear serial number of your device.
- Set screen timeout on 1 hour (3600 second: adb shell settings put global screen_off_timeout 3600000
- To completely turn off auto-switch off, use: adb shell settings put global screen_off_timeout 2147483647 (maximum 32-bit-system)
To return the standard settings, do:
adb shell settings delete global screen_off_timeoutWhat if the ADB canβt see the device?
5 Automation with Tasker
If you need to flexibly manage screen timeouts depending on the situation (e.g., keep it on only in the navigator or when connected to a Bluetooth headset), Tasker is the perfect solution. This app allows you to create complex automations without root rights.
Example of a task to keep the screen on when starting Google Maps:
- Install Tasker and provide all the permissions requested
- Create a new profile (+ β App β Select Google Maps)
- Add the task (+ β Display β screen timeout)
- Set the value 3600 (1 hour) or 2147483647 (without).
- Save the profile and activate it.
Similarly, rules can be configured for:
- π§ Headphone connections (the screen does not go out while listening to music)
- π Geolocations (e.g. only at home or in a car)
- π Battery level (turn off auto-turning only when charging) >80%)
π‘
Tasker has an AutoNotification plugin that lets you create a notification switch to quickly manage screen timeouts, which is handy if you need to turn the feature on/off frequently.
Problems and Solutions: Why the Screen Is Still Dimming
Even after all the methods are used, the Redmi 9 screen can continue to turn off, and letβs look at the typical causes and ways to eliminate them:
| Problem. | Possible cause | Decision |
|---|---|---|
| The screen goes out in 30 seconds despite the settings | Ultra-low consumption mode (Battery β Battery mode) | Turn off the mode or add the application to exceptions |
| ADB-commands are not applied | MIUI resets settings after rebooting | Use Tasker to re-apply the command when you start the system |
| The app side is down. | MIUI Optimization blocks background processes | Turn off optimization in the developer settings (Section 2) |
| The screen flashes before turning off | Conflict with the function to raise for activation | Turn it off in Settings β Screen β Raise it for activation |
If none of the methods worked, check:
- π System updates - in new versions MIUI Screen control bugs can be fixed
- π οΈ Resetting settings β sometimes resetting to factory settings helps (donβt forget to make a backup!)
- π Problem applications β some programs (such as launchers) can override screen settings
π‘
Redmi 9 with firmware older than MIUI 12.5 may require manual editing of /system/build.prop to completely disable timeout.However, this requires root rights and is not recommended for beginners due to the risk of "bricking" the device.
7. Alternative methods for specific tasks
In some scenarios, standard solutions don't work. Here are the specialized approaches:
For use as a navigator:
- π± Turn on In-Car Mode in Google Maps settings (it automatically keeps the screen on)
- π Connect your phone to charging β many navigation apps turn off timeouts when powered from USB
For reading books:
- π Use apps like Moon+ Reader or FBReader β They have built-in screen retention settings
- π Activate a dark theme β it reduces battery load with constant lighting
For developers and testers:
- π» Use the adb shell input touchscreen swipe 100 100 100 100 100 5000 to simulate touch every 5 seconds.
- π Configure Monkey Runner to automatically interact with the screen
For Redmi 9 with custom firmware (like LineageOS or Pixel Experience), the process may be different, so look for timeout settings in the Settings β Display β Sleep menu or use Magisk modules like Screen Off Timeout.