Merge "Double check the permission before setting the Wake Lock"