Add sleep and wake functions to enter and exit low power mode.  Update example with usage.