MacBook Pro immediately shuts down when disconnected from charger, auto starts when opening MacBook, even after shutdown
Your battery is old even if it still has a low cycle count. You might even have a battery that has been damaged in production. In all cases you should not continue using your MacBook in this condition. The battery could start producing gases, inflating and destroy it in the process.