Does your smartphone screen on Android go dark after a few seconds of inactivity, interfering with reading, watching videos or working with a navigator? This problem is familiar to many users - especially after system updates or factory resets. In most cases, it is not breakdowns that are to blame, but incorrect wait time settings or energy-saving functions.

In this article we will analyze all the possible reasons for the screen to turn off spontaneously and offer 7 proven solutions from basic settings to advanced methods using ADB and third-party utilities. The instructions are suitable for devices on Android 8.0โ€“14 (including Samsung One UI, Xiaomi MIUI, Google Pixel and other shells).

Before proceeding with the settings, make sure that the problem is not related to mechanical damage (for example, after dropping the phone) or battery overheating. If the screen goes blank even when charging and does not respond to touches, this is a reason to contact a service center.

1. Setting screen timeout in standard settings

The most obvious reason for the display to turn off prematurely is Sleep timeout is too short. By default, most devices have a value of 15 to 30 seconds, but you can increase it to 10 minutes or turn it off completely.

How to change the sleep time:

  • ๐Ÿ“ฑ Open Settings โ†’ Display (on some devices Settings โ†’ Lock screen).
  • โฑ๏ธ Find the item Screen timeout (or Sleep after, Automatically turn off the display).
  • ๐Ÿ”ข Select the maximum value - usually it is 10 minutes or 30 minutes (at Samsung there may be an option Always on).
  • ๐Ÿ”„ If the option is missing, check the section Settings โ†’ Battery โ†’ Energy saving mode โ€”sometimes the timeout is blocked by saving charge.

On devices with MIUI (for example, Redmi or POCO), the path may be different: Settings โ†’ Display โ†’ Sleep modeOn Samsung Galaxy look Settings โ†’ Lock screen โ†’ Screen timeout.

โš ๏ธ Attention: On some smartphones (for example, Huawei or Honor) The maximum wait time is limited to 5 minutes due to manufacturer policy. In this case, alternative methods will be required (see sections 3โ€“5).
๐Ÿ“Š How often does the screen automatically turn off?
Constantly - interferes with work
Sometimes - when reading or viewing
Nearby - only in the navigator
Never - everything suits me

2. Checking energy-saving modes

Energy-saving functions are the second most popular reason why the screen turns off prematurely. Manufacturers aggressively optimize battery consumption, sometimes at the expense of convenience. Let's look at the main โ€œculpritsโ€:

  • ๐Ÿ”‹ Adaptive battery (on Android 9+): limits application activity and reduces screen time.
  • โšก Ultra power saving mode (on Samsung): forcibly turns off the display after 10โ€“15 seconds.
  • ๐ŸŒ™ Dark theme + energy saving: on AMOLED screens may interrupt the timeout.
  • ๐Ÿ“ด Optimizing applications: some apps (for example, Facebook or YouTube) force the phone to sleep.

How to disable power saving:

  1. Go in Settings โ†’ Battery.
  2. Find the section Energy saving modes (or Adaptive battery) and turn it off.
  3. For individual applications (for example, a navigator), open Settings โ†’ Applications โ†’ [app name] โ†’ Battery and select Without restrictions.
Manufacturer Path to energy saving settings What to disable
Samsung Settings โ†’ Device care โ†’ Battery โ†’ Energy saving modes Ultra mode, adaptive battery
Xiaomi/Redmi Settings โ†’ Battery and performance โ†’ Energy saving Super economy mode, background limitation
Google Pixel Settings โ†’ Battery โ†’ Adaptive preferences Adaptive battery, application optimization
Huawei/Honor Settings โ†’ Battery โ†’ Energy saving modes Smart energy saving, limiting startup
๐Ÿ’ก

If the battery drains too quickly after turning off power saving, try reducing the screen brightness or turning off Always On Display (if it is present).

3. Using developer mode for advanced settings

If the standard settings do not help, you can use developer mode. It allows you to disable automatic screen shutdown completely or increase the timeout to 30 minutes.

How to enable developer mode:

  1. Go to Settings โ†’ About phone (or Settings โ†’ System โ†’ About phone).
  2. Find the item Build number and click on it 7 times in a row A notification will appear You have become developer!.
  3. Go back to the main settings menu - a new section will appear there For Developers.

Now you can change the screen timeout:

  • ๐Ÿ› ๏ธ Open Settings โ†’ System โ†’ For developers.
  • ๐Ÿ” Find the option Keep screen on (or Stay active) and enable it.
  • โณ Alternative: find Screen timeout in standby mode and set the maximum value (for example, 30 minutes).
โš ๏ธ Attention: On some devices (for example, OnePlus or Oppo) option Do not turn off the screen works only when connected to charging. For offline mode, other methods will be required.
What to do if there is no option "Do not turn off the screen"?

On some firmware (for example, ColorOS or Realme UI) this option hidden. Try using ADB (section 4) or third-party applications (section 5).

4. Disabling auto-shutdown via ADB (for advanced users)

If the manufacturer has blocked changing the screen timeout, you can bypass the restrictions using Android Debug Bridge (ADB). This method requires connecting the phone to a computer, but gives full control over the settings.

Step-by-step guide:

  1. ๐Ÿ’ป Install ADB drivers on your computer (Windows, macOS or Linux).
  2. ๐Ÿ“ฑ On your phone, enable USB debugging in the developer settings (see section 3).
  3. ๐Ÿ”Œ Connect your phone to the PC via USB and select mode Transfer files.
  4. ๐Ÿ–ฅ๏ธ Open the command line (or Terminal on macOS/Linux) and enter:
adb devices

(The name of your device should appear - this confirms the connection.)

adb shell settings put global stay_on_while_plugged_in 3

This command disables auto-shutdown screen when connected to charging. To disable the restriction completely, use:

adb shell settings put system screen_off_timeout 1800000

(Value 1800000 is 30 minutes in milliseconds. For 10 minutes, specify 600000.)

To return the standard settings, run:

adb shell settings delete system screen_off_timeout

Install ADB drivers on your PC|Enable USB debugging on your phone|Connect your phone in the "File Transfer" mode|Check the connection with the command adb devices|Make a backup copy of the settings

-->

5. Third-party applications for controlling the screen

If you donโ€™t want to tinker with the settings or ADB, you can use specialized applications. They allow you to flexibly configure the screen timeout, including exceptions for individual apps.

Top 3 proven utilities:

  • ๐ŸŒŸ Keep Screen On - a simple app with the ability to disable auto-shutdown for selected applications (for example, only for Google Maps or YouTube).
  • โšก Caffeine - adds a button to the notification panel for quick turning on/off the constant backlight of the screen.
  • ๐Ÿ› ๏ธ Tasker โ€”an advanced tool for automation. You can create a rule: โ€œIf the application is running Waze, then do not turn off the screen."

How to configure Keep Screen On:

  1. Download the application from Google Play.
  2. Open it and enable the option Enable Service.
  3. In the Apps section, select apps for which you want to disable auto-shutdown (for example, Chrome or Netflix).
  4. Configure additional parameters: for example, Only when charging (only when charging) or Always (always).
โš ๏ธ Attention: Some applications (for example, Tasker) require rights superuser (root) to function fully without root their functionality may be limited. limited.

6. Checking sensors and physical faults

If the screen goes blank unpredictable (for example, during a call or when touched), the problem may be related to:

  • ๐Ÿ“ก Proximity sensor โ€”if it triggers falsely (for example, due to dirt or a case), the phone will think that you brought it to your ear and turn off the display.
  • ๐Ÿ”‹ Faulty battery โ€”with a critically low charge (even if the indicator shows 20โ€“30%) the system can forcefully turn off the screen.
  • ๐Ÿ› ๏ธ Damaged display cable โ€”after a fall or repair, the contacts may have come loose.
  • ๐Ÿฆ  Viruses or malware โ€”some apps block the screen to display advertising.

How diagnose hardware problems:

  1. Proximity sensor test:
    • Dial the code on the phone keypad ##0588## (for Samsung) or ##0*## (for other devices).
    • If the screen turns red when your hand approaches, the sensor is working. If not, cleaning or replacement is required.
  2. Checking the battery:
    • Install the application AccuBattery and check real capacity the batteries. If it is below 70% of the nominal value, itโ€™s time to change the battery.
  • Loop diagnostics:
    • Lightly press the screen in the area of โ€‹โ€‹the top frame. If the image begins to flicker, the cable is damaged.
    • ๐Ÿ’ก

      If the screen goes blank only at a certain angle of the phone, the problem is almost certainly in the display cable. In this case, only repairs at a service center will help.

      7. Resetting the settings to factory settings (last resort method)

      If none of the methods helped, the only option left is Reset your phone to factory settings. This will delete all user data, but will return the standard screen control settings.

      How to reset:

      1. Back up your important data (photos, contacts, messages).
      2. Go in Settings โ†’ System โ†’ Reset settings (or Settings โ†’ General โ†’ Reset on Samsung).
      3. Select Reset all settings or Delete all data.
      4. Confirm the action and wait until the reboot.

    After the reset:

    • ๐Ÿ”„ Do not restore settings from a backup - this may return the problem.
    • ๐Ÿ“ฑ Set up screen timeout and power saving manually (see sections 1โ€“2).
    • ๐Ÿ” Install applications one at a time and monitor whether the problem returns.
    • โš ๏ธ Attention: On some devices (for example, Xiaomi s MIUI), resetting may block the ability to change the screen timeout. In this case, only firmware via Fastboot.

      FAQ: Frequently asked questions about the blacking screen on Android will help

      ๐Ÿ”น Why does the screen go dark after 5 seconds, although the settings say 30 minutes?

      Most likely itโ€™s the culprit power saving mode or optimization of a specific application. Check the battery settings for the app that is active at the time of shutdown (for example, Chrome or Telegram). The reason may also be processor overheating โ€”in this case, the system forcibly turns off the display.

      ๐Ÿ”น Is it possible to disable auto-shutdown screen forever?

      Technically yes, but this not recommended - constant operation of the display shortens the service life AMOLED matrices and quickly drains the battery. The best option is to increase the timeout to 10-30 minutes or use applications like Keep Screen On only for the necessary apps.

      ๐Ÿ”น Why did the screen turn off faster after updating Android?

      Manufacturers often tighten their energy saving policies in new firmware versions. For example, in Android 12+ appeared adaptive timeout, which reduces latency when the battery is low. The solution is to disable adaptive battery settings (see section 2) or use ADB (section 4).

      ๐Ÿ”น The screen turns off only in the navigator (Google Maps or Yandex.Navigator). How to fix it?

      This is a common problem due to battery optimization. Solutions:

      1. Open Settings โ†’ Applications โ†’ [Navigator] โ†’ Battery and select No restrictions.
      2. In the navigator settings enable the option Keep the screen on (if available).
      3. Use the application Keep Screen On and add the navigator to exceptions.

      ๐Ÿ”น On Samsung Galaxy there is no "Keep the screen on" option in developer mode. What to do?

      On devices Samsung s One UI this option is often hidden. Alternatives:

      • Use ADBcommand: adb shell settings put global stay_on_while_plugged_in 3 (works only when charging).
      • Install the application Caffeine and activate constant backlighting through the panel notifications.
      • Try firmware with support root (for example, LineageOS), if the warranty is not important.