I'm running 2 background services
One to detect the shaking and the other to detect the long press for power button.
The services are working perfectly in the background but sometimes when the application is in the background, I get this message popping again and again "Application_name isn't responding, Wait or stop". Both the services are normal services with START_STICKY on onStartCommand()
I've declared both the services in manifest.
And one more thing, Sometimes when I open my application (After the services are running for a while), I get a plain white screen on the app startup and it just sticks there.
If anyone have any idea about these scenarios please let me know. and if you need to see the code too, let me know.