Developing a daemon for jailbroken iDevices.
It's supposed to run when the iPhone is locked. However, the process seems to be put on hold after a little under a minute when the iPhone is locked (as seen by considering the "Total Process Running Time" given by CocoaTop). How can I prevent this, and make the daemon run all the time?
I'm sure this is possible, since when the phone is charging (plugged in) the daemon is not paused, and I see it working.
Wrapped the main method of the daemon in what's described here under Listing 2