@mntmn diiing (says the linux phone)
actually lots of things are not there yet tho. the clock does not set up rtc wake yet so if the phone goes to sleep the timer won't ring (i'll work on that myself). and the sound volume control is not differentiated by category (media/call/notification) so if you lower the volume the alarm is super quiet too. but none of this is rocket science and we'll fix it!
@mntmn yes, you just tell the rtc (via a CLOCK_*_ALARM timerfd and linux just does it, but we'll have to make a dbus api because that's protected by linux capabilities which are a nightmare) and it pings the wake irq when it's time.
wrt mobile connection, the qcom IPA driver already sets its irq as a wake irq, so incoming data from modem should wake the system. well I haven't confirmed that it does for real but I am seeing odd wakeups with no irq reason lol. but we're missing filters support.