We can set up an individual power plan for each app on the Xiaomi smartphone. When power saving mode is enabled, the app is handled according to the selected plan. The following power saving options can be enabled:

Android 10 (MIUI 12.0)
Step 1:  Open the  Settings
Step 2:  Tap on  Battery & performance
Step 3:  Tap on  App battery saver
Step 4:  Choose an  app
Step 5:  Choose  No restrictions ,  Battery saver (recommended) ,  Restrict background apps  or  Restrict background activity
  1. Open the Settings
  2. Tap on Battery & performance
  3. Tap on App battery saver
  4. Choose an app
  5. Choose No restrictions, Battery saver (recommended), Restrict background apps or Restrict background activity

Xiaomi Instructions