We can instruct the Samsung device to automatically optimise itself once a day, closing apps in the background and making further optimisations.

The automatic optimization only takes place when the device is not in use, i.e. when the screen is turned off. For the best result, a time should be planned when the Samsung device is not (rarely) used.

Android 10 (One UI 2.0)
Step 1:  Open the  Settings
Step 2:  Tap on  Device Care
Step 3:  Open the  menu
Step 4:  Tap on  Advanced
Step 5:  Tap on  Auto optimisation
Step 6:  Enable or disable  Auto optimisation
  1. Open the Settings
  2. Tap on Device Care
  3. Open the menu
  4. Tap on Advanced
  5. Tap on Auto optimisation
  6. Enable or disable Auto optimisation

Samsung Instructions