Does your smartphone screen go blank after 30 seconds or a minute of inactivity? This is a standard power-saving feature, but it gets in the way when reading, watching videos, or using the device as a navigator. In this article, we'll look at all ways to disable auto screen off on Android - from standard settings to hidden features for advanced users.
The problem is relevant for all versions of Android, but manufacturers (Samsung, Xiaomi, Oppo etc.) often change the location of the options. We took into account the features of popular shells: MIUI, One UI, ColorOS and pure Android. We will also tell you how to bypass restrictions on the maximum wait time and what to do if the settings are blocked.
Important: some methods require superuser rights (root) or activation of developer mode. If you are a beginner, start with the first methods - they are safe and work without additional manipulations.
1. Standard method: screen settings
The easiest method is to change the screen timeout in the settings menu. It works on 90% of devices, but the maximum available time is often limited (usually 10 or 30 minutes). Here's how to do it:
- Open
Settings(gear icon in the application menu). - Go to section
Screen(on some devices -DisplayorDisplay). - Find item
Sleep after,Screen timeoutorAuto shutdown. - Select the maximum available value (for example,
30 minutes).
On smartphones Samsung the path may be different: Settings โ Device care โ Battery โ Advanced โ Screen timeout. U Xiaomi the option is sometimes hidden in Settings โ Screen โ Sleep mode.
If your smartphone does not have the "Screen timeout" item, try using the search in the settings (magnifying glass icon in the upper right corner).
- โ๏ธ One UI (Samsung): Maximum - 10 minutes (up to 30 minutes on new models).
- ๐ฑ MIUI (Xiaomi/Redmi/Poco): Available up to 30 minutes, but on budget models there may be a limit of 5 minutes.
- ๐ ColorOS (Oppo/Realme): Usually offers a choice of up to 15 minutes.
- ๐ค Pure Android: Maximum - 30 minutes (on Pixel and other devices with AOSP).
โ ๏ธ Attention: On some devices with the shell Flyme (Meizu) or Funtouch OS (Vivo) the maximum time can be locked at 5 minutes. In this case, proceed to the following methods.
2. Developer mode: hidden timeout settings
If the standard settings do not give the desired result, activate developer mode. This will allow you to increase the waiting time to 10 hours or disable auto-shutdown completely. Instructions:
- Open
Settings โ About phone(orAbout device). - Find item
Build number(orMIUI versionon Xiaomi). - Tap on it 7 times in a row. A notification will appear
You have become developer!. - Return to the main settings menu and open a new section
For developers(can be located inSystem โ Advanced). - Find the option
Keep the screen on(orStay active) and turn it on.
If there is no such option, look for Screen timeout in standby mode - here you can set the value up to 10 hours (36 000 seconds). On some firmware (LineageOS, custom ROMs), complete disabling is available.
What to do if there is no "For Developers" item
If after 7 clicks on "Build number" the section is not available appeared, try:
1. Reboot the device.
2. Check if the section is hidden in the additional settings (for example, System โ Advanced โ For developers).
3. Update the firmware - on older versions of Android (below 7.0) may not work.
| Manufacturer | Path to developer mode | Max inactivity time |
|---|---|---|
| Samsung | Settings โ About phone โ Software information โ Number build |
10 hours |
| Xiaomi/Redmi | Settings โ About phone โ MIUI version |
30 minutes (sometimes 1 hour) |
| Google Pixel | Settings โ About phone โ Build number |
30 minutes |
| OnePlus | Settings โ About device โ Build number |
10 hours |
โ ๏ธ Attention: On devices with Android 12+ shell One UI 4.0+ (Samsung) the "Keep the screen on" option may not be available due to energy saving policies. In this case, use third-party applications (see the next section).
3. Applications for controlling the screen
If the system settings do not provide the necessary flexibility, install a specialized application:
- ๐ Keep Screen On โ a simple utility with a widget for quickly enabling/disabling a function. Works without root.
- ๐ ๏ธ Caffeine โadds a button to the notification panel to temporarily disable screen sleep.
- โก Stay Alive โadvanced settings, including managing the screen while charging or when running specific applications.
- ๐ฑ Screen Alive โsupports exceptions for individual apps (for example, only for YouTube or Google Maps).
How to set up Stay Alive (recommended for most users):
- Download the application from Google Play.
- Open it and grant permission to
Overlay on top of other applications(in Android settings). - Enable the option
Keep Screen On. - In the section
Applicationsselect apps for which you want to disable screen sleep (for example, navigators or video players).
For Xiaomi and Huawei you may need additional permission to autostart the application, otherwise the system will kill it in the background. Find Stay Alive in Settings โ Applications โ Permissions โ Autorun and enable it.
4. ADB commands: for advanced users
If you are ready to work with Android Debug Bridge (ADB), you can change the system timeout settings without root access. This method is suitable for devices where the manufacturer has blocked the settings.
You will need:
- A computer with installed ADB drivers.
- USB cable for connecting a smartphone.
- Enabled
Mode developerandUSB debuggingon the phone.
Instructions:
- Connect the phone to the PC and open the command line (Windows) or terminal (macOS/Linux).
- Enter the command to check the connection:
adb devicesThe serial number of your device should appear.
- Set the maximum standby time (for example, 10 hours = 36,000 seconds):
The value "3" means that the screen will not turn off when connected to charging and actively used.adb shell settings put global stay_on_while_plugged_in 3 - For full disabling timeout (not recommended due to the risk of overheating):
adb shell settings put system screen_off_timeout 2147483647
To return the default settings, use:
adb shell settings delete system screen_off_timeout
โ ๏ธ Attention: Changing system parameters via ADB may lead to unstable operation of the device. Before experiments, create a backup copy of your data (Huawei, Honor) ADB commands may not work due to manufacturer restrictions.
5. Settings for specific applications
Sometimes you need to keep the screen on only in certain apps - for example, in a navigator (Google Maps, Yandex.Navigator) or a video player. To do this:
- ๐บ๏ธ Navigators: In Google Maps open
Settings โ Navigation โ Display settingsand enableDo not turn off the screen. - ๐ฌ Video players: In YouTube or VLC activate the "Play on lock screen" mode (not to be confused with disabling sleep!).
- ๐ Readers: In Moon+ Reader or FBReader enable the option
Keep Screen Onin the application settings.
If the desired option is not available, use the application Tasker to create automatic rules. Example task:
- Open Tasker and create a new task.
- Add a condition:
Application โ [Select the desired application]. - Add action:
Display โ Set screen timeout โ 3600 seconds (1 hour). - Save the task and activate it.
Download Tasker from Google Play|
Enable accessibility access (in Android settings)|
Create a profile with the condition "Application"|
Add the action "Set screen timeout"|
Test the task
-->
For Samsung s One UI there is an alternative - Bixby Routines (built-in application). Create a routine with the โLaunch applicationโ trigger and the โScreen always onโ action.
6. Root methods: full control over the screen
If you have root access, you can change the system files responsible for controlling the screen. This method is risky, but provides maximum flexibility.
Instructions for advanced users:
- Install a file manager with root access (for example, Root Explorer or Solid Explorer).
- Go to paths
/system/build.prop. - Open the file in a text editor and add the line:
ro.lge.proximity_sensor_calibration=1pm.sleep_mode=0 - Save the changes and reboot the device.
An alternative way is to use the module Magisk:
- Download the module "Screen Off Timeout" from the repository Magisk.
- Install it via Magisk Manager.
- Reboot the phone and set the desired time in the module menu.
โ ๏ธ Attention: Incorrect editing of the file build.prop can lead to bootloop (loop reboot). Before making changes, make a backup copy of the file. On devices with Samsung Knox root access may reset the Knox counter, which will void your warranty.
7. Alternative solutions for specific cases
If none of the methods helped, try workarounds. ways:
- ๐ Continuous charging: Connect the phone to a power source - on many devices the screen does not go dark when charging (but this is uneconomical).
- ๐ฑ Kiosk mode: Turn on single application mode (
Settings โ Accessibility โ Kiosk mode), where the screen remains active. - ๐ Safe Mode: Boot your phone into safe mode (hold the power button โ "Safe Mode") and check if third-party software is interfering with the screen.
- ๐ ๏ธ Reset settings: If the problem appeared after the update, perform a factory reset (
Settings โ System โ Reset).
For devices with Android 10+ and the shell EMUI (Huawei) there is a hidden function:
- Open
Settings โ Battery โ Advanced. - Enable
High performance mode. - The screen will stay on longer, but battery consumption will increase.
If the screen goes blank only in certain applications, the problem may be in their settings or permissions. Check whether the system is blocking background activity of the app (for example, through Settings). โ Applications โ [Name] โ Battery).
8. Diagnosing problems with auto shutdown
If the screen turns off too quickly or unexpectedly, this may not be due to settings, but to hardware or software failures. Check:
| Symptom | Possible cause | Solution |
|---|---|---|
| The screen goes blank after 5-10 seconds | Proximity sensor failure | Wipe the sensor (next to the front camera) or calibrate it through the engineering menu (##4636##). |
| Auto-shutdown is unstable | Conflict with battery optimizer | Disable optimization for the problematic application in the battery settings. |
| The screen does not turn on after sleep | Faulty power button or cable | Check the button for physical damage or contact service. |
| Timeout resets after reboot | System settings failure | Run reset settings via Recovery (without data loss). |
To diagnose the proximity sensor:
- Dial on the keyboard
##4636##. - Select
Phone information. - Scroll down to the block
Sensors. - Look at the value
Proximity sensorโwhen you close your hand over the sensor, it should change from5.0to0.0.
โ ๏ธ Attention: If the proximity sensor does not respond, this may lead to the screen turning off spontaneously during calls. In this case, repair or replacement of the sensor is required.
FAQ: Frequently asked questions
Is it possible to completely disable auto-shutdown of the screen without root?
Yes, but with reservations On most devices, the maximum time. - 30 minutes (in developer mode up to 10 hours). To completely disable without root, use applications like Stay Alive or Caffeine, but they may conflict with battery optimization.
Why did the "Keep the screen on" option disappear after updating Android?
Manufacturers often such functions are removed or limited in new firmware versions due to energy saving policies. For example, Samsung removed this option in One UI 4.0+. In this case, only ADB or third-party applications will help.
The screen goes blank only in YouTube How to fix?
Q. the application itself YouTube there are no settings for controlling screen sleep. Use one of the solutions:
- Enable the "Play on lock screen" mode in the YouTube settings.
- Install VLC and watch the video through it - there is an option
Keep Screen On. - Adjust Tasker or Stay Alive to exclude YouTube.
Will the battery drain faster if the screen does not turn off?
Yes, but the extent depends on the type of screen:
- AMOLED: Black pixels do not consume energy, so if there is a dark image on the screen, the consumption will be minimal.
- IPS LCD: The screen consumes energy evenly, regardless of color. Battery consumption will increase by 15-30%.
Recommendation: use adaptive brightness and dark themes to reduce the load.
Is it possible to disable auto-shutdown of the screen on an Android tablet?
Yes, all the described methods also work on tablets (Samsung Tab, Lenovo, Huawei MatePad etc.). On devices with Android 12L+ (optimized for large screens) there may be an additional option Table mode, where the screen timeout is increased by default.