For example, 12 hours would be 43200000 milliseconds. Use your desired timeout in place of XXX, again using milliseconds. This will output the display timeout in milliseconds.Īdb shell settings put system screen_off_timeout XXX To check the currently set screen timeout on the device, use the following command:Īdb shell settings get system screen_off_timeout It’s also helpful if you want a custom screen timeout duration not offered in Android’s settings menu, as you can set any specific number you want here.įirst, plug your device into the computer you have ADB set up on (if you don’t have it set up, check out our primer). This is beneficial if you need to tweak timeout settings on multiple devices, as you can simply execute the same command on each one. If you’d rather adjust the screen timeout with the command line, you can use ADB. How to adjust screen timeout settings with ADB However, the display timeout can be changed or set so long as to be effectively unlimited with Android’s ADB command line tool, as shown below. For Android devices without the option to disable screen timeout entirely in the settings app, there is no guaranteed method to force the display on all the time. Some devices may also include a “none” option here, which completely disables the timeout so the screen stays on all the time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |