Disable Battery Saving Mode for Salestrail
This will allow Salestrail app to run without being restricted by MIUI's battery optimization.
Note: Steps may vary depending on device
Steps:
Open Settings
Scroll down and tap "Battery & Performance"
Tap "Battery"
Scroll to "App Battery Saver"
Find and tap Salestrail
Choose "No restrictions"
This ensures that Salestrail runs in the background without being closed by MIUI.
Enable Auto Start (Allow Background App Launch)
This prevents MIUI from stopping Salestrail when the phone is restarted.
Steps:
Open Settings
Tap "Apps" > "Permissions"
Tap "Auto Start"
Find Salestrail
Toggle ON to enable Auto Start
Now, the app will start automatically after you restart your phone.