@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.
@mntmn i made a recent post about push, definitely will need to work on it soon. tl;dr i don't think the coalescing into a single source is a big deal, and it doesn't fit into the p2p-all-the-things vision of the future.
so yea if i confirm that ipa wakeup already works we'll be able to have a "wakeups only when push arrives because the only open connections are push ones lol" thing, until someone figures out ipa filters to make it better