Wake Gestures: Ensure system has a chance to respond to input events and fix sweepup2wake

idea is taken here -
https://github.com/flar2/m7-Sense/commit/c06eea0a1a67c92fab9e4b4c3f32e83d7b58f23a