Implement Double tap to wake functionality

from stratosk part I