Chances are that your laptophas a defective charger, if that is not the problem, it is your input jack in the computer for the charger, it might be cracked or damaged, if so both options require repair.
Chances are that your laptophas a defective charger, if that is not the problem, it is your input jack in the computer for the charger, it might be cracked or damaged, if so both options require repair.