Swipe 2 sleep module, all credits for the code go to @flar2 here: http://forum.xda-developers.com/showthread.php?t=2700160