I only owned my computer for less than 3 months. Then it started turning off by itself after about 30 seconds of not being used. (Like if you were reading something) I went through every fix out there and did a lot of research and then found that this is common issue with the Surface Pro 7.  Local computer repair business advised it will cost more to fix than to replace.