fix wakelock pocket detect