This seems strange to me, but I have to admit that I haven't checked the kernel implementation of wakelocks, so I'm not absolutely sure what's going on here. It seems sensible enough to me that there might be something that just forgoes partial wakelocks after some certain amount of time: have you tried with a full wake lock? If you don't get an answer in a while I can try to source dive the framework and see what might be going on..
Kris On Tue, Apr 23, 2013 at 12:26 AM, paladin <[email protected]> wrote: > No, if anything is put in the foreground, everything wakes up, and the > problem does not exist. It's only when it's been asleep completely for an > hour that is the problem. > > On Monday, April 22, 2013 6:35:37 PM UTC-4, Kristopher Micinski wrote: >> >> That's why I view it as a long shot. But the reasons would be simply >> enough that other apps come into the foreground and do some processing >> that have higher priority (e.g., google talk, etc...). >> >> Kris >> >> On Mon, Apr 22, 2013 at 6:20 PM, paladin <[email protected]> wrote: >> > I don't think so. Why would the OS kill the app after 1 hour? Yes, that >> > would explain things though. >> > >> > >> > On Monday, April 22, 2013 6:00:48 PM UTC-4, Kristopher Micinski wrote: >> >> >> >> Just speculation (which would sort of surprise me..), but is it >> >> possible that the app is killed, the partial wake lock is given up, >> >> and then you receive no more updates...? >> >> >> >> Kris >> >> >> >> On Mon, Apr 22, 2013 at 5:51 PM, paladin <[email protected]> wrote: >> >> > PowerManager.PARTIAL_WAKE_LOCK >> >> > >> >> > >> >> > On Monday, April 22, 2013 5:38:06 PM UTC-4, RichardC wrote: >> >> >> >> >> >> Are you holding any sort of Wake Lock? If so which one? >> >> >> >> >> >> On Monday, April 22, 2013 10:00:32 PM UTC+1, paladin wrote: >> >> >>> >> >> >>> I have an app that is supposed to send a ping to a server every 30 >> >> >>> seconds. When the app goes to sleep, it's still supposed to do >> >> >>> this, >> >> >>> but >> >> >>> I've been testing and it seems to stop sending any updates after 1 >> >> >>> hour, >> >> >>> consistently. Is this a "deep sleep"? I have seen no documentation >> >> >>> on >> >> >>> this. >> >> >>> Has anyone experienced this? Would anyone know how to keep it from >> >> >>> going >> >> >>> into deep sleep? >> >> > >> >> > -- >> >> > -- >> >> > You received this message because you are subscribed to the Google >> >> > Groups "Android Developers" group. >> >> > To post to this group, send email to [email protected] >> >> > To unsubscribe from this group, send email to >> >> > [email protected] >> >> > For more options, visit this group at >> >> > http://groups.google.com/group/android-developers?hl=en >> >> > --- >> >> > 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 [email protected]. >> >> > For more options, visit https://groups.google.com/groups/opt_out. >> >> > >> >> > >> > >> > -- >> > -- >> > You received this message because you are subscribed to the Google >> > Groups "Android Developers" group. >> > To post to this group, send email to [email protected] >> > To unsubscribe from this group, send email to >> > [email protected] >> > For more options, visit this group at >> > http://groups.google.com/group/android-developers?hl=en >> > --- >> > 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 [email protected]. >> > For more options, visit https://groups.google.com/groups/opt_out. >> > >> > > > -- > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > --- > 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 [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

