The screen in question is HDMI. The power off/on action is initiated by clicking on the on-screen capacitive button.
I just need to know if there is a way to get events like "now the screen is on", "now the screen is off/unplugged", "now the screen is in standby mode".
If at all possible, I would like to avoid timer-based approaches and to rely to events (however, a timer-based approach is still better than having no clue).