How to keep service application working in screen off state
Locks and releases the given lock state for a specified time.
12345678910#include /power.hint error;error = device_power_request_lock(POWER_LOCK_CPU, 0);// do your job hereerror = device_power_release_lock(POWER_LOCK_CPU);