doubletap2wake and sweep2wake for Moto G
credits: alin.p