first draft of alarm-triggered service with wake-lock