I tried all the suggestions like enabling auto start and restricting the data and battery saver. I will appreciate your help. its a doorbell app using miui 13 eu