MacBook randomly shuts off
My MacBook Pro (13in, 2017) randomly keeps shutting off with and without the power cable plugged in as I'm working. When it finally turns back on after <5min, it still has a high percentage of battery left or at least around 50%. How can I fix this from randomly shutting down on me?
MacBook