But I suggest you after hard reset install latest firmware from samsung smart switch and then reset again. It may fix your problem.
If it fixes let me know.😁
Dear Samsung Member,
Greetings from Samsung Customer Support!
We apologize for your inconvenience. 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