Open tigre-bleu opened 8 years ago
It is a great suggestion, and i have tested a couple of ways to implement it. The biggest problem is when the phone goes in deep sleep the (normal) timer stops and you wont get an alarm. This can be prevented by stopping the phone from going into deep sleep, but preventing deep sleep over night will drain a lot of battery, and the method is not approved by Jolla harbour. A cron job is a good idea too, but there are no standard way to get that approved in harbour.
I do have an openRepos version (with MPRIS support). This version could be the test version for an alarm clock.
If anybody have a good idea to correctly implement an alarm function i am open for testing it though... :)
It would be nice to automatically launch a radio channel at a specific time (as an alarm clock).
I don't know if it's easy with sailfish to create something like a cron to launch the app, but a first step would be to have an option in the app to play a specific channel at a specific time.