You can enhance your device's battery life using its built-in feature.
Steps to optimize battery usage on Xiaomi Redmi Note 5A Prime:
Step 1: Go to Battery Settings.

Step 2: Select the analysis option.
.jpg)
Step 3: Optimize to extend your usage time.
.jpg)
With that, your setup process is complete. Wishing you all success.