My app is not receiving push notification in Redmi phones while the app is in the background or it got killed by swiping.
So I am trying to wake the phone by WorkManage
WorkManager API will work well as documented in the Android Stock OS devices or emulator. Customised ROMs like Xiaomi, Vivo, etc. have the Battery Saver option set to "optimized" by default, and don't allow the WorkManager API as expected. Set Battery Saver to "no restrictions" and your WorkManager will run the task.
I am using version 1.0.1 and it works well with Xiaomi devices after performing the above changes for Battery Saver.