My laptop was running low on charge so I plugged it in when I put the cable in the socket (on the laptop) it instantly turned off and will not turn back on, and I have checked the power supply and it is fine and at the correct voltage.
I have never had any issues with it before although it is around 4-5 years old.
It is a HP Pavillion G6