Moved SleepModeActivity code to AlarmActivity.