Dear Samsung Member,
Greetings from Samsung Customer Support!
Please be assured and to resolve "charging" issue, we would like to inform you that kindly switch off Handset for 5 minutes to cool down and recheck if its working fine.
And Samsung customer’s safety is on top priority that is why this concept is introduced with logic that whenever handset temp. or ambient air temp. goes up to certain set limit, then device automatically restrict fast charging or even some time stops charging. But post device temperature reaches to normal after cooling down the set, then automatically set starts charging normally (This is implemented in all Smartphone models from year 2019)
And to resolve "overheating" issue kindly follow the given below steps : https://www.samsung.com/in/support/mobile-devices/why-the-heating-issue-occurs-in-mobile-device/
And to resolve "drainage" issue kindly follow the given below steps : http://www.samsung.com/in/support/skp/faq/1101689
If the issue still persist, kindly register your concern in Samsung Members app (Samsung Members app > Get help > Feedback > Error report) along with Video or Screen-shots. This will help us to further investigate and resolve your concern.
Note: Please send device log files within 15 minutes of issue occurrence along with the exact issue details.
Thank you for writing to Samsung.
Samsung Customer Support