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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...