I have an application which starts a service. The service has a timer and pops a notification every 30 seconds. I notice the following behavior:
if the screen is on the notifications are shown ok (even if the app is in background)
if the screen is off (by power button or by itself) the notifications won't show
if the screen is off but I have the debugging running the notifications appear
How can I make the service run with the screen off.