[doubletap2wake]: redo algorithm and a few other touch ups
app compat