bug fixed for cpu wakelock