After a heart attack, the body is hardwired to sleep in order to recover from injury. New research explores how this happens.