Changing your device's Android screen timeout should be an easy task, but sometimes the setting for it isn't easy to find. The good news is that you can set the Android screen timeout to a few seconds, minutes, or even disable it completely, which is often required for industrial devices. If you need to manage a fleet of Android devices, we'll also show you how to easily change the Android screen timeout for those in a batch.
Let's dive into all the options available for how to change the lock screen timeout on Android.
What is screen timeout Android?
Android screen timeout is a setting on Android devices that lets you determine how long you want the screen to stay on when there's no user interaction. The purpose of the Android screen timeout setting is to preserve battery power.
Android screen timeout is also essential for security. If you put your Android phone or tablet down and forget to switch it off, having a short Android screen timeout ensures that the device locks itself before anyone has a chance to access it.
In kiosk devices, the opposite might be true: You would want to keep the screen on as long as possible, to let customers see the display and interact with it.
Strictly speaking, "sleep" isn't the same as the Android screen timeout, but some device types have famously confused this, such as the Xiaomi Redmi. In these cases, use the "sleep" option to change the Android screen timeout setting.
Generally, you should be able to find the Android screen timeout setting under Settings → Display → Screen Timeout.
Choose the option to keep your screen on as long as you want, such as a few seconds or a few minutes. Choosing an option that's short is better from a security perspective but can be tremendously frustrating if you read a lot on your device because the screen will tend to switch off while you're reading.
Some devices provide a "None" or "Never" option so that the screen only goes off when you explicitly switch it off. Having no screen timeout enabled can drain your battery quickly if you forget to switch off your device.
If you're running a kiosk or point-of-sale device, you would typically want to set the Android screen timeout to always on.
If your device doesn't provide an Android screen timeout "Never" option, you can do one of the following things to ensure that there is no screen timeout:
For business devices, you have the additional option of installing emteria’s Android OS, a modified version of Android. The OS lets you:
After connecting your device using ADB, execute the following ADB command:
adb shell settings put system screen_off_timeout [timeout-in-milliseconds]
The maximum timeout is 2,147,483,647 milliseconds, which is about 596.5 hours, or a little under 25 days.
To enable developer mode, open your settings up, and scroll down to the "About Phone/Device" section.
The next step varies by device, but you generally need to find the software version or build version of your phone and tap it seven times. This enables Android's Developer menu.
Go back to the main settings menu and scroll down to Developer Options. Click it, and look for the "Stay Awake" option. Click that to disable the lock-screen timeout on Android.
Perhaps you only want to keep the screen on when you're running a specific app.
Some apps on Android prevent screen timeout, thereby overriding the settings to no screen timeout while this app is running. The most common apps that override the screen timeout settings on Android are video and gaming apps.
If you're developing your own app, you can add this to your app's behavior in the code instead of changing it globally for the whole device, thereby disable screen timeout programmatically.
Some apps provide settings to disable the Android screen timeout, but this is vendor-specific. If the app you want to keep on doesn't provide the setting, third-party apps exist that can keep your device on when a specific app is running.
This final option is especially suited for devices in a business context, or when you're managing a fleet of Android devices.
MDM services let you manage every aspect of your Android fleet remotely. Devices that have been provisioned using emteria can be easily integrated into emteria's Device Hub—a browser-based console for managing Android devices remotely.
One of the commands you can execute remotely is the "Keep Awake" command. So long as the device is charging, enabling the "Keep Awake" setting ensures the screen never switches off.
To change the "Keep Awake" setting, all you have to do is execute the command through the Device Hub, as you would execute any other command, such as commands for rebooting or updating device policies.
To learn more about emteria's MDM services platform, contact us for a demo.