I am looking at creating a clock widget that tell the current time but if the minimum time you can set for the widget is 15 minutes thats obviously not going to work.
I also see suggestions on using AlarmManager
but then I worry about the battery life.
I also see the intent action Intent.ACTION_TIME_TICK
that fires every minute and seems like what I want but as the documentation says
You cannot receive this through components declared in manifests, only by explicitly registering
So that seems like its not going to work for a widget
So the question is, is there a "correct" way to build a clock widget that does not kill the battery and still updates the current time?