I read about work-manager and its documentation says that it uses JobScheduler on devices with API 23+ and Uses a combination of BroadcastReceiver + AlarmManager on devices with API 14-22 while JobScheduler is available from 21 API. So why its not using the JobScheduler from 21 API.
As per this WorkManager issue:
We only use JobScheduler starting at API 23, because of bugs in JobScheduler in API 21 & 22.
As JobScheduler is a framework API, fixes are not able to be backported to previous versions of Android, leaving older versions, in this case API 21 and 22 devices, with a JobScheduler version that is unsuitable to build upon.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With