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:

  1. Open Settings (gear icon in the application menu).
  2. Go to section Screen (on some devices - Display or Display).
  3. Find item Sleep after, Screen timeout or Auto shutdown.
  4. 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:

  1. Open Settings โ†’ About phone (or About device).
  2. Find item Build number (or MIUI version on Xiaomi).
  3. Tap on it 7 times in a row. A notification will appear You have become developer!.
  4. Return to the main settings menu and open a new section For developers (can be located in System โ†’ Advanced).
  5. Find the option Keep the screen on (or Stay 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):

  1. Download the application from Google Play.
  2. Open it and grant permission to Overlay on top of other applications (in Android settings).
  3. Enable the option Keep Screen On.
  4. In the section Applications select 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.

๐Ÿ“Š Which application do you use to control the screen?
Keep Screen On
Caffeine
Stay Alive
Screen Alive
None
Other

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 developer and USB debugging on the phone.

Instructions:

  1. Connect the phone to the PC and open the command line (Windows) or terminal (macOS/Linux).
  2. Enter the command to check the connection:
    adb devices

    The serial number of your device should appear.

  3. Set the maximum standby time (for example, 10 hours = 36,000 seconds):
    adb shell settings put global stay_on_while_plugged_in 3
    The value "3" means that the screen will not turn off when connected to charging and actively used.
  4. 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 settings and enable Do 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 On in the application settings.

If the desired option is not available, use the application Tasker to create automatic rules. Example task:

  1. Open Tasker and create a new task.
  2. Add a condition: Application โ†’ [Select the desired application].
  3. Add action: Display โ†’ Set screen timeout โ†’ 3600 seconds (1 hour).
  4. 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:

  1. Install a file manager with root access (for example, Root Explorer or Solid Explorer).
  2. Go to paths /system/build.prop.
  3. Open the file in a text editor and add the line:
    ro.lge.proximity_sensor_calibration=1
    

    pm.sleep_mode=0

  4. Save the changes and reboot the device.

An alternative way is to use the module Magisk:

  1. Download the module "Screen Off Timeout" from the repository Magisk.
  2. Install it via Magisk Manager.
  3. 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:

  1. Open Settings โ†’ Battery โ†’ Advanced.
  2. Enable High performance mode.
  3. 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:

  1. Dial on the keyboard ##4636##.
  2. Select Phone information.
  3. Scroll down to the block Sensors.
  4. Look at the value Proximity sensor โ€”when you close your hand over the sensor, it should change from 5.0 to 0.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:

  1. Enable the "Play on lock screen" mode in the YouTube settings.
  2. Install VLC and watch the video through it - there is an option Keep Screen On.
  3. 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.