How to change the Screen Brightness from cmd line?

Is there a command to change the Screen Brightness from the terminal/ssh cmd line? The background of my question is that the L5 sometimes wakes up with the screen nearly dark. I’ve disabled Automatic Brightness and do not see how this is done by the phone itself.

You have to edit the file /sys/class/backlight/backlight-dsi/brightness. Enter a byte value (number from 0 to 255) and save it. Brightness will change instantly.

Edit:
However, in my opinion it’s easier to just drag down the top panel and dot-wise touch (not swipe!) from right top to bottom in little steps on the screen. You will automatically increase brightness without seeing sliders.

Thank you! Just for the record: a good command to run is this:

$ echo 200 | sudo tee /sys/class/backlight/backlight-dsi/brightness
200

Re/ your hint tapping down, it took me a while to understand: you mean tapping down until one hits the slider line, yes?

1 Like

You’re welcome. Sorry that I described my hint not well enough. You’re correct, try it out.

And any idea what is changing the brightness?

do you have any scripts running? tlp?