Understanding screen status

Tiwiz

Member
Licensed User
Longtime User
Hello everyone,
Is it possible to understand when the screen is switched on? I mean, can I grab the event of switching on of the screen and understand if the screen is already on? I'd need it to make my widget update only when screen gets switched on or if it's already turned on. Thanks

Tiwiz
 
Top