The community forum

Join the conversation

Start service in background

I am developing an app that starts a forground service from a broadcast receiver issued by an alarm to play a sound. It works as expected on Pixel mobile with Android P beta installed but on my Nokia 7 plus with the latest P beta it only works for about twenty minutes when the device is set off and after that only the broadcast is received and the service is not started any more. It looks like a bug in power saving that restricts apps background activities after that amount of time is passed. Is this a known issue? Any help appreciated.
Login to post a comment