I have a service application that connects to a mail server, downloads some emails and writes some data from the messages to a file.
But it seems to do nothing when the computer goes to sleep. Here are my questions:
- Is this supposed to happen?
- Shouldn’t the service application wake the computer up automatically since it is doing some network activities? (As far as I know, the mac does this.)
- Is there a way for my app to tell the computer to not go to sleep?
Thank you in advance!