So...
I have a service that spawns a thread that is listening to data from a device via the device's wifi network. All works well, except that the service seems to pause when the the device is put to sleep.
I've tried PARTIAL_WAKE_LOCK and WIFI_LOCK with no success. I've checked and it says the wake lock is held, but as soon as the device goes to sleep the service stops logging the data. Any thoughts or examples would be greatly appreciated!
Thanks!