I tried to register the receiver in my service with the following code:
IntentFilter filter = new IntentFilter(Intent.ACTION_SCREEN_ON); ScreenReceiver SR =
Read this tutorial Handling Screen OFF and Screen ON Intents, it could help you.