Try these steps it might help temporary fix
Wipe cache after (android 11)
Turn off your device-
Recovery mode me jaane ke 3 steps.
Choose any of these
Connect c type earphones or connect your device with laptop make sure your laptop is on .
Press and hold power button and volume up button .
When android logo appears release thes keys . Then tap on wipe cache partition and then tap on reboot system now.
BTW I can't believe SD people are also facing heating issues I have heard that SD 888 have some issues but not that SD 865 will also have this .
If this information helped you tap on 3 dots to accept my solution
Regarding heating there is not much heating, u will feel little warm that is due to summers i guess.
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