After 1 min close screen, to save battery

Hi all,

I would like to turn off the screen after 1 minute of inactivity.

How to do it?


I think it is possible with clock timer and Activity starter.

Only the user can do so in the settings app.

1 Like

@Mateja is correct, you cannot turn off the screen programmatically. But you can change the screen (background) to black after 1 minute using a timer.

If you are not using PhoneWakeState lock then the screen will turn off based on the device setting. There is no API to turn off the screen.”

See eg here:


Well techincally, that isn’t turning off the screen.

Conclusion: it is impossible

1 Like

Any prove that this saves battery’s energy?

Of course, but …

1 Like


Read Carefully

it says for many devices, you can’t save battery life by using a black bg if it’s not OLED.

1 Like

You should read carefully:


Thank you all.

Nice discusion!!

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