do you think that anyway is better than never release the partial lock?
IMHO, definitely yes.
The scheme could go like this:
- in remainder service Start (please, not Starter service) you set next wake up time
- you check whether the intent that woke up your service is the "right one" (i.e. If StartingIntent.HasExtra("android.intent.extra.ALARM_COUNT") Then...) and in that case prepare a Notification.
- The user will open your Notification and will be directed to the activity serving your reminder
- or you acquire a lock, do whatever is needed and release the lock
If I recall it correctly, there should be an example from Erel showing a very similar process (a list of times and a FindeNextTime function).