This is the problem faced by everyone now a days almost all samsung users regardless of the model but still samsung is sleeping and not doing anything. Atleast they can acknowledge and reply back that they are working to resolve the issue.
Please try the following steps:
-Launch your Settings and select Device Care > Battery.
-Power Mode - Choose Right power mode and enable Adaptive power saving.
App power management
- Enable Adaptive Battery & Put unused apps to sleep.