Why my BroadcastReceiver stop receiving after a while
问题 I have a IntentService that does a long work, it takes about 15 minutes to be done. It is a synchronization process to get new data from my server. When this service starts, I start a activity too, to display the progess. This activity creates a BroadcastReceiver , that intercepts messages sent from the service about the process progress. If I leave the app doing it job, after a while the SO switch off the screen. When I switch on the screen again, after about 15 minutes, the service has been