Article # 580, added by Geoworks, historical record
| first | previous | index | next | last |

Apps suspending when device is closed.



Q. So what happens when the N9000 phone is closed (i.e. the PDA side is
   "put to sleep")? Does the CPU stop running immediately or does it wait
   for all the threads to go idle? I realize mailbox and RTCM events still
   occur, but do normal apps keep running? Is there a way to force the
   apps to continue running?

A. Thirty seconds after the lid is closed, if no thread is running, the
   PDA suspends. If the threads keep running (in an infinite loop), the
   PDA will never suspend. This is bad, though, since the battery will
   be run down. If the threads go idle, the PDA will suspend.