As you can see, if your app targets Android 12 or higher, the Android documentation mentions that it should be at least 10 minutes. For workaround also there are some methods and documentation present in there. Can give it a try!!!