Jump to content

Disable screen when idle


Recommended Posts

I'm developing a recipes application in a sm43-j-r22.

I want to disable or turn off the display if no control is touched in 5 five minutes in order to improve de durability of te device.

Thescreen must be turn on if the user touch the screen again.

Is this possible?

Link to comment
Share on other sites

  • MVP 2023

Yes, use SI 9 to adjust the backlight intensity from 0% - 100% and use SB 16 to return the screen backlight to its previous value.

Be careful though, when a user touches a dark screen, any button or control that is there will be activated. I usually load a blank screen when I dim the display to prevent inadvertent activation of some control.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.