Ionic background mode working only for 5 min in android 9

I have used background plugin but that is only working for 5 min in android 9 other android versions are not facing this issue.
I have used cordova-plugin-background-mode.
Ionic version - 3.20.0