All, We have an Android application which starts and runs a foreground service with the associated notification.
The app essentially receives real time information from the server it's connected to via a socket and creates notifications for the user if required. These notifications are time critical (the user has three minutes to respond maximum). The service holds a partial wakelock. We are finding that sometimes [we think] the device is going into doze mode (maybe when the users are asleep and it's not charging). Apart from informing all our users to not leave the device still and not on charge, is there anything we can do about this? I've read about the whitelist and about launching an intent to allow the user to add the application, this can be done no problem but I've also read this doesn't work. Moving to GCM is not an option as there are 300 servers out there with lots of these devices connected. We don't have control over the devices themselves so there are a large number of manufacturers and models in use. Any help please? Regards, Andy. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/4b1b3910-6484-49d8-a9de-67022388bcc6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.