Search code examples
androidandroid-workmanager

Does we need to hold wake lock programmatically for work manager or work manager do it by itself?


I am new to work manager and I want to know that if we use OneTimeWorkManager so does we need to hold wake lock programmatically or work manager did it by itself. Please guide me

Thanks in advance


Solution

  • WorkManager does not need wake lock to work.

    Always works in background without wake lock