Igor Kostenko
Igor Kostenko

Reputation: 2874

How to detect the maintenance window will be closed event in Doze mode?

I want to start a hard Worker.class, but when phone switching to Doze mode and then maintenance window comes sometimes is not enough time to finish Job and I need an event to close timers and to save databases

Upvotes: 2

Views: 414

Answers (1)

Rahul
Rahul

Reputation: 21134

You have 10 mins to complete your work. If you need more time, I suggest splitting up your work and scheduling more Workers.

Upvotes: 2

Related Questions