I recently bought the 7" touchscreen for my raspberry pi B 3 running Raspbian and and wanting to use it as a wall mounted display for a smart home project. However I would like the touchscreen to "sleep" or turn off sooner than the time that it's set at now (I think 30 mins but I am not sure.) If there is a way to shorten that time and also retain the ability to "wake" the screen when touched would be amazing.
The second question would be, is there a way programmatically to "wake" the display? For example, if a notification shows up the screen would wake to show that.