This code helps automatically set your phone volume, ringtone according to the user schedule.