Today i'm find the correct way to work; i don't know why, but i'm fixed on the way to count time for starts screen saver inside my application, so i need hooks; i try to use hooks (i need global hook) and it works, but i think it's better in another way: the correct way is leave the screen saver administration to the system and enable it or disable it when occurs; the correct way is: - Read if the screen saver is enabled from the system (so i know if i have to use it) - If disabled i do nothing - If enabled, disable it - Run all on my application - If device is sleeping for 1 minute, enable screen saver and reset counting - If device is current in use, disable screen saver and reset counting The rest it' better leave to the system: in this way i have only a delay of one minute for screen saver starting. Now it works fine; i'm sorry for these post. Thank you Drugo