Why Google Calendar?
Sleep as Android integrates with Google Calendar, so:
- your alarms can be automatically disabled for public holidays (only for your main calendar)
- your alarms can take your calendar events into account (only for your main calendar)
- your sleep automatically appears in your calendar
- Enable Google Calendar integration in Settings > Services > Google Calendar.
REQUIREMENTS: Google Calendar needs to be installed on your device, also Android version has to be at least 4.0.
Disable repeating alarms for holidays
This feature automatically disables repeating alarms being scheduled on public holiday. Whenever this happens, you will get standard android notification with possibility to revert the action.
CONFIGURATION: Note that most users should have already subscribed public holidays to their calendar. If it is not your case, follow the next instructions:
Click the little downward arrow under “other calendars” on the left side of the default calendar view (beside “add”). Click on “browse interesting calendars” and you should be able to see and subscribe to it.
BETA: To add a personal holiday manually, create an event with “#holiday” in either title or description in your main calendar.
WARNING: Some holidays in the Google public holiday calendar may not apply to you – the calendar is not perfect. Please add a whole-day event called #notholiday if you find a holiday in the Google holiday calendar that you do not recognize as holiday.
Whenever your calendar event collides with your next active alarm, Sleep as Android will advance that alarm in order to help you wake up earlier and be in time for event.
The rule is simple – advance alarm time to one hour before the event starts. Whenever this happens, you will get standard android notification with possibility to revert the action.
From version 20160704: Don’t like that the alarm will be advanced one hour? You can change this on a per-event basis. When you create the event in your calendar, just insert an expression in the following format into description or title of the event.
- #alarm-30 (advances the alarm for 30 minutes)
- #alarm-30m (advances the alarm for 30 minutes)
- #alarm+20 (postpones the alarm for 20 minutes)
- #alarm+20h (postpones the alarm for 20 hours)
- #alarm-1h (advances the alarm for 1 hour)
- #alarm+2h30m (postpones the alarm for 2 hours 30 min)
- #alarm+2h30 (postpones the alarm for 2 hours 30 min)
- #alarm+2:15 (postpones the alarm for 2 hours 15 min)
When this option is enabled, your past records will be loaded into your Google Calendars that are either called Sleep, or have #sleep somewhere in their name. This is currently limited up to 1 year. Moreover all new sleep records are automatically synchronized with Google Calendar.
IMPORTANT: In order to make the synchronization functional, you will have to create custom calendar with the name Sleep and make it Enabled (checked)! Here is a link how to do it.