Laptop shuts down when plugged in

Hackerjack Posts 1 Registration date Saturday October 1, 2022 Status Member Last seen October 1, 2022 - Oct 1, 2022 at 12:24 PM

My Toshiba Satellite works fine when running on battery but as soon as I plug it in, it shuts down. Could it be a bad laptop electric cord. It just started to happen, had no problem for years.