How to turn off the screen of a laptop?

Problem

I booted Official OpenWrt 21.02.0(Sep 2 2021) from USB on Miix510 12IKB and left it alone for about 7 hours. When I came back to it, its screen was still on. It seemed that the screen is always on.

Are there methods of making the screen turned off

  • by default
  • after a certain time without keyboard input such as 3 minutes
  • via the console

Resolution

# turned off after 1 minute
setterm --blank 1

install the setterm package and try the blank and/or powersave options

https://linux.die.net/man/1/setterm

1 Like

Thanks, the following command works for me:

# turned off after 1 minute
setterm --blank 1

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.