The smartphone screen is the main โeaterโ of battery power, but constantly turning off the display after 15-30 seconds of inactivity irritates many users. This is especially true when reading long articles, viewing recipes in the kitchen, or using the device as a navigator. Fortunately, Android allows you to flexibly configure the screen timeout both through standard menus and using hidden functions or third-party applications.
In this article we will analyze all the available methods for increasing screen timeout - from basic settings to advanced tricks for experienced users. You will learn how to bypass manufacturer restrictions (for example, o Samsung or Xiaomi), which applications actually work without a security risk, and what to do if the desired setting is blocked. And also - how to save battery power even with a maximum timeoutusing smart system functions.
Android standard settings: where to look for screen timeout
On most devices, the screen timeout option is hidden in the display settings menu. The path may differ slightly depending on the version of Android and the manufacturer's shell (for example, One UI y Samsung or MIUI y Xiaomi), but the general logic is the same. Here's how to get there:
Open the application Settings (gear icon) โ go to the section Screen (or Display). Here look for items like:
- ๐
Screen timeout(orSleep after inactivity) - โฑ๏ธ
Time before the screen turns off - ๐ฑ
Sleep mode(on some devices)
For example, on a clean Android 14 the path will be like this: Settings โ Screen โ Screen timeout.
In this menu you will see a list of available intervals - usually from 15 seconds to 10 minutes (less often - to 30 minutesSelect the appropriate option and confirm the changes. Important: on some devices (eg Huawei or Oppo) the maximum value can be limited 5 minutes โwe'll talk about this in the next section.
Manufacturer restrictions: why there is no โNeverโ option
Many users wonder why there is no option in the settings Never turn off the screen or at least 30 minutes. The reason lies in the manufacturers' policy and basic principles. Android:
- ๐ A constantly lit screen drains the battery by 20-40%. faster (depending on the type of display - AMOLED or IPS) Manufacturers limit the maximum time to avoid complaints about short operating times.
- โ๏ธ System optimization. Long-term operation of the screen without locking can lead to memory leaks and a slower interface, especially on budget devices with 2-4 GB of RAM.
- ๐ก๏ธ Security. On some devices (for example, corporate smartphones), security policies prohibit working for too long without blocking.
However, these restrictions can be circumvented - read about this in the following sections. In the meantime, pay attention to the table with typical restrictions on. brands:
| Manufacturer | Maximum time in settings | Can it be increased via ADB | Do third-party applications work |
|---|---|---|---|
| Google Pixel | 10 minutes | Yes | Yes |
| Samsung (One UI) | 10 minutes (5 minutes on some models) | Yes, but requires unlocking the bootloader | Partially (limitations on new models) |
| Xiaomi/Redmi/Poco (MIUI) | 5 minutes | Yes | Yes, but you need superuser rights |
| Huawei/Honor (EMUI) | 5 minutes | No (locking at the firmware level) | Limited |
โ ๏ธ Attention: On devices with Android 12+ and newer versions, some workarounds (for example, via ADBmay require additional permissions or disabling protected features. Before changing system settings, check whether this will violate the warranty or block updates.
Method 1: Using developer mode for advanced settings
If the standard options are not enough, the first step is to activate developer modeThis hidden menu allows you to change system parameters that are not available to regular users. Here's how to do it:
- 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 a developer!. - Return to the main page. menu
Settingsโa new section will appear thereFor developers(orDeveloper options).
Now go in Options. developer and find the option Screen timeout when connected to charging (or similar). Values up to 30 minutes or Never. Please note: this parameter works only when the device is connected to the network!
Is developer mode activated (7 taps on the number assembly)
Are there any restrictions from the manufacturer (for example, on Huawei)
Is the device connected to charging (for some options)
Has a backup of important data been made (in case of failure)-->
If the required option is not there, try looking for others in this menu Related options:
- ๐
Stay active while charging(keep screen on while charging) - ๐ฑ
Keep the screen on when using certain applications - โก
Adaptive brightness(sometimes affects timeout)
Method 2: ADB commands to reset restrictions (without root)
If developer mode is not enough, the next step is to use Android Debug Bridge (ADB)This tool allows you to send commands directly to the system, bypassing interface restrictions. The method works on most devices without superuser rights, but requires a connection to a PC..
Here are step-by-step guide:
- Download and install
ADBon your computer (for example, via Platform Tools from Google). - Turn on on your phone
USB debuggingv menuDeveloper options. - Connect the device to the PC via a cable and confirm permission for debugging.
- Open the command line (or
Terminalon Mac/Linux) and enter:
adb shell settings put global stay_on_while_plugged_in 3
This command causes the screen to remain on always when connected to charging. The numbers mean:
0- off1- only when connected to the network (220V)3โ with any type of charging (including USB)
To return standard behavior, run the same command with 0 at the end.
If the command does not work, try executing it first adb shell settings put global stay_on_while_plugged_in 0, then reboot the device and repeat the input with the desired value.
To change the screen timeout on battery use another command:
adb shell settings put system screen_off_timeout 600000
Here 600000 โtime in milliseconds (600,000 ms = 10 minutes). Other popular values:
300000- 5 minutes1800000- 30 minutes-1- never turn off (does not work on all devices)
โ ๏ธ Attention: On some devices (for example, Samsung Galaxy s One UI 5+) commands ADB to change the screen timeout may be reset after a reboot. In this case, you will need to re-enter or use automatic scripts (for example, through Tasker).
Method 3: Applications for controlling the screen (with and without root)
If you do not want to bother with ADB, you can use third-party applications. They are shared into two categories:
- Without root access. Work through accessibility or overlay on top of other windows. Examples: Keep Screen On, Caffeine, Screen Alive.
- With rights root. Can change system settings directly. Examples: Tasker (with a plugin Secure Settings), MacroDroid.
Consider the popular options:
| Application | Requires root? | Max. inactivity time | Features |
|---|---|---|---|
| Keep Screen On | No | No restrictions | Uses overlay (may interfere with gestures) |
| Caffeine | No | Up to 1 hour | Activated through the tile in the curtain notifications |
| Tasker + Secure Settings | Yes | No restrictions | You can set up rules for time, charge, applications |
| Screen Alive | No | Up to 30 minutes | Works through accessibility service (may conflict with other applications) |
For example, Keep Screen On adds a switch to the notification shade that forces the screen to remain on until you turn it off. Minus - the application must run in the background, which slightly increases battery consumption A Tasker allows you to create a rule like: โIf. running Google Maps and the device is connected to charging - do not turn off the screen."
How to bypass MIUI restrictions on Xiaomi without root?
On devices Xiaomi with MIUI 12+ standard applications for holding the screen are often blocked by the system. Solution:
1. Install Shizuku (requires ADB command to activate).
2. Through Shizuku give permissions App Ops (application for managing permissions).
3. Find the system application App Ops find the system application com.android.systemui and disable the scan for it DISPLAY_OVER_OTHER_APPS.
4. Now applications like Keep Screen On will work without restrictions.
Method 4: Automation via Tasker or MacroDroid (for experienced ones)
If you need flexible control of the screen depending on conditions (for example, keep it on only in certain applications or according to a schedule), the best tool is Tasker or its simplified analogue MacroDroidThese applications allow you to create complex scripts without writing. code.
Example of setting in Tasker:
- Create a new task (
Task) and add an actionDisplay โ Display Timeout. - Specify the desired time in seconds (for example,
3600for 1 hour). - Create a profile (
Profile) that will activate this task. For example:- ๐
Applicationโ select Google Maps or Waze (for the navigator). - โก
PowerโPower Any(if needed only for charging).
- ๐
Display Off or closing the application) to return the standard timeout.The MacroDroid logic is similar, but with a simpler interface:
- ๐ Create a macro with a trigger
Application running. - โฑ๏ธ Add an action
Set screen timeout. - ๐ Specify a stopping condition (for example,
Screen is offorApplication is closed).
Automation via Tasker/MacroDroid is the most flexible method, but it takes time to set up. But it allows, for example, to keep the screen on only in the navigator and only when connected to the radio. Bluetooth.
Method 5: Changing system files (only for root users)
If you have rights superuser (root), you can change the system files responsible for screen timeout. This method is the most radical and potentially dangerous, but gives complete control. Attention: wrong actions can lead to bootloop (loop reboot) or data loss!
Instructions for advanced users:
- Install a file manager with root support (for example Root Explorer or Solid Explorer).
- Navigate to the path
/system/build.propand open the file in a text editor. - Add or change the following lines:
ro.lge.proximity.delay=25ro.config.hw_power_saving=0
ro.config.dha_max_block_ms=5000Here
5000is the time in milliseconds (5 seconds). Replace with the desired value (for example,600000for 10 minutes). - Save the file, set the permissions
644(r-w r-- r--). - Reboot device.
An alternative method is to edit the file. /system/usr/keylayout/Generic.kl. Find the line in it:
key 260 POWER WAKE_DROPPED
And add after it:
key 260 POWER WAKE
This will disable the screen from automatically turning off when you press the power button (but not when inactive!) data-i="287">Changing system files may disrupt the operation of
โ ๏ธ Attention: Changing system files may disrupt operation OTA updates (over-the-air updates) and some security functions (for example Google Pay or banking applications) Before editing, make a full backup via TWRP or other custom recovery.
How to save battery power with an increased screen timeout
Keeping the screen on longer means draining the battery faster But there are ways to minimize losses:
- ๐ Use dark themes. On AMOLEDscreens, black pixels do not consume energy. Turn on dark mode in settings or in applications (for example, Google Maps or Chrome).
- ๐ฆ Reduce brightness. Even reduced from 100% to 70% can extend the operating time by 15-20%. Turn on
Adaptive brightnessin the display settings. - ๐ถ Disable unnecessary modules.
Wi-Fi,Bluetooth,GPSandNFCin the background consume power. Use tiles in the notification shade for quick control. - โก Activate the mode energy saving. On some devices (for example, Samsung) it limits background activity, but does not affect the screen.
Another trick is to use Always On Display (AOD) instead of completely turning off the screen. This feature shows the time, notifications and other data on the turned off display, consuming a minimum of energy (especially on AMOLED). Activated in Settings โ Screen). โ Always On Display.
adb shell settings put global adaptive_display_timeout_enabled 1-->
If it is critical for you to keep the screen on for a long time (for example, for navigation on a trip), consider purchasing powerbank with a function pass-through charging (simultaneous charging of the phone and the power bank itself from the network. This will avoid discharge even at maximum load.
FAQ: Frequently asked questions about setting screen timeout
Is it possible to set the screen timeout to more than 30 minutes without root?
On most devices without root, the maximum value is 10-30 minutes (depending on the manufacturer). You can bypass this limitation only through ADB (team screen_off_timeout), third-party applications (for example, Keep Screen On) or automation (Tasker). On some firmware (for example, LineageOS) the limits are higher.
Why after updating Android screen timeout reset?
System updates often reset user settings, especially if they were changed via ADB or root. After the update, you need to reapply commands or configure applications. To avoid this, use Tasker to automatically apply the settings after a reboot.
Is it safe to use applications like Keep Screen On?
Yes, if you download them from official sources (for example, Google Play). These applications do not require root and work through legitimate Android APIs (for example, WAKE_LOCK or AccessibilityServiceHowever, they can). conflict with other accessibility services (for example, voice assistants).
How to return the standard screen timeout after experiments?
If you changed the settings via ADB, do:
adb shell settings delete system screen_off_timeout
To reset changes to build.prop you will need to restore the original file from a backup or reflash the device. In applications like Tasker simply delete the created tasks.
Why doesnโt any method of increasing the timeout work on Huawei?
Huawei (and partially Honor) blocks changes in system parameters at the software level, especially on devices with EMUI 10+. The only working options:
- Using applications like Keep Screen On (with restrictions).
- Installing custom firmware (for example, LineageOS, but this will void the warranty).
On new models (for example Mate 50 or P60) even these methods may not work due to enhanced protection.