I use StartServiceAtExact() and the condition is the same.
If the minium interval is 15 or 30 minutes, how do I count per second on Android 5 devices ?
Would you please give me e a easy example ?
Timer can work in the background. You will need to use a foreground service to prevent the OS from killing the process. You should also use PhoneWakeState if you want to prevent the device from sleeping.