sleeptime

Detects when the system wakes up from sleep mode and calls a callback function.