Fix Travis on branch
Implementing the sleep mode