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 devicesSettings โ Lock screen). - โฑ๏ธ Find the item Screen timeout (or Sleep after, Automatically turn off the display).
- ๐ข Select the maximum value - usually it is
10 minutesor30 minutes(at Samsung there may be an optionAlways 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).
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:
- Go in
Settings โ Battery. - Find the section Energy saving modes (or Adaptive battery) and turn it off.
- For individual applications (for example, a navigator), open
Settings โ Applications โ [app name] โ Batteryand selectWithout 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:
- Go to
Settings โ About phone(orSettings โ System โ About phone). - Find the item Build number and click on it 7 times in a row A notification will appear
You have become developer!. - 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:
- ๐ป Install ADB drivers on your computer (Windows, macOS or Linux).
- ๐ฑ On your phone, enable USB debugging in the developer settings (see section 3).
- ๐ Connect your phone to the PC via USB and select mode
Transfer files. - ๐ฅ๏ธ Open the command line (or
Terminalon 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:
- Download the application from Google Play.
- Open it and enable the option
Enable Service. - In the
Appssection, select apps for which you want to disable auto-shutdown (for example, Chrome or Netflix). - Configure additional parameters: for example,
Only when charging(only when charging) orAlways(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:
- 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.
- Dial the code on the phone keypad
- 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.
- Lightly press the screen in the area of โโthe top frame. If the image begins to flicker, the cable is damaged.
- Back up your important data (photos, contacts, messages).
- Go in
Settings โ System โ Reset settings(orSettings โ General โ Reseton Samsung). - Select
Reset all settingsorDelete all data. - Confirm the action and wait until the reboot.
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:
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.
- Open
Settings โ Applications โ [Navigator] โ Batteryand selectNo restrictions. - In the navigator settings enable the option
Keep the screen on(if available). - Use the application Keep Screen On and add the navigator to exceptions.
- 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.
โ ๏ธ 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:
๐น 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: