Step Clear Cache Partition
Turn off your phone ...Connect your phone to laptop/pc with a type-c cable.
Press Volume up and power button (also press bixby button if present) at the same time .
Keep it pressed until samsung logo appears on your phone.
Then a list of your options will come on your phone..
Go to Clear Cache Partition option by navigating through volume buttons.
After selecting Clear Cache Partition option,then click power button once.
Once Cache is cleared you will be taken to first option..Then again click power button to restart the phone!
after that go to device care than battery section and click on background uses limit than turn on put unused aaps to sleep and come back and click more battery settings and turn on adaptive battery.
than come back device care interface and click on 3dot than click on automation and turn on adaptive power saving.
Dear Samsung Member,
Greetings from Samsung Customer Support!
To resolve your device battery drain issue please visit this link: https://www.samsung.com/in/support/mobile-devices/samsung-mobile-battery-drain-issue/
For further assistance, register your concern in Samsung Members Application (Open Samsung Members Application > Get help > Send Feedback > Error report/Ask questions).
Thank you for writing to Samsung.
Samsung Customer Support