scheduling bug fixed. option to acquire wakelock.