Hi guys. Really want some insight into this. So my MacBook mid 2014 continues to turn off randomly, even when the power cord is plugged in. I have already tried to do an SMC reset and PRAM reset, but not successfully. I also tried apple diagnostic test, and it said no problems. At first, I thought it was my battery, but I figured this wasn't going to happen while I was still connected.