Macbook Pro 16 shuts down when put to sleep
I have a MacBook Pro (16-inch, 2019), MacOS Big Sur 11.2.3
Every time I put the device to sleep it shuts down, when I turn it on it shows the error message "Your computed was restarted because of a problem"
This happens if I put it to sleep myself or if it goes to sleep after a while. To avoid this I completely turned off sleep mode when plugged in, but this is not a solution, I use it on battery quite often and sleep is essential when on the move.
This started happening ever since I got the device and I had it on High Sierra, so I assume MacOS version is not the issue. I also reinstalled it completely two times since I got it and this issue never dissapired.
What can I do to fix this?
MacBook Pro 13″, macOS 10.15