added sleepmode.example from ruben laguna