On Oct 27, 10:38 pm, Brian <send2world....@gmail.com
> I am very confused..if the CPU shuts off when the device goes to sleep
> does that mean that any thread running will also be shut down?
Well, it will stop executing.
> I am confused..how can one have a process run in the background if the
> CPU is off most of the time?
You don't, as much as possible. Keeping the CPU running while it's
not being used will have a big impact on battery life. You should use
the alarm manager to have the system wake you up when needed. You can
hold a partial wake lock while needed to ensure that the cpu remains
running during that time, but just holding one indefinitely is evil.