In my app I have periodic task that needs to be executed periodically with high reliability.
Currently I am using WorkManager and observe that from time to time tasks execute way out of schedule.
The documentation vaguely mentions that api is "being conscious of battery life" and I think this might be the cause.
Anyway, I tried to disable "battery optimization" in application settings of my app and still observe delays I cannot tolerate in my app.
So, here is the question: what is the most reliable api I can use to schedule periodic (15-30 min) tasks and if there are some settings user might change to improve the reliability of tasks being executed on schedule?
Reliability is the main focus here, battery life can be sacrificed in my use case.
Ps: my main target is Android N, testing on Motorola Moto C.