09 McBk pro shutting down on and/or off power cord
My macbook pro keeps shutting down while its on or off the power cord. I really have to mess with the power cord to get any kind of charge on the computer. I tried to run Apple diagnostics and it won't display. I'm wondering if its my power cord that is having the problems or if its something internal on the macbook. I had gotten a compatible cord a several months ago and it died after a few months, so now I'm using my old cord again. Its the L-shaped one. I'm worried if I get a new cord the computer might fry it, since I'm not sure if that's what happened with the other cord I purchased. I've tried several times now. I was wondering if this sounds like a simple issue to fix or if I should look into getting another computer.
MacBook Pro, OS X Yosemite (10.10.3)