doubletap2wake: squashed commit from semaphore kernel
Thanks to stratosk