How do I turn on background power consumption programmatically

Jul 23 2021 9:54 AM

I used (PIP) Mode in my application but i have a issue there when i lock my phonbe and put it on sleep mode , then after some time when i open my screen lock and check then my pip mode is Killl ,, its happen ony oppo or vivo mobile only .... please let me know if any one know the solution