12-20-2010 09:49 PM
I have an app that sends a notification to the server when a power off or power up is detected, although it seems to only actually deliver the power-up message in rare cases, and power-off not at all.
How much time does the powerOff method have? Does the OS wait for it to complete before continuing the poweroff?
Is the network available during the call to powerOff? What about during the call to powerUp?
12-21-2010 02:26 AM
As far as my knowledge is concerned power off event does not wait for your calls (either network related or anything else) to be completed. So you should avoid doing lots of stuff or networking related stuff in power off event.
12-21-2010 02:47 AM