nidhin3its a software problem ,many user including me also facing this problem from april security patch update
I have Max pro m2 in my home but never had this issue especially in Android 9. I suggest you to test if this problem occurs in Safe Mode. If you are not having any issue in Safe Mode Format your device. Else you might have to visit a service center.