You have to solder it and fixed it. Laptop doesn't have external charger since putting back the battery is a hard task. Do not attempt to charge if chords are broken, it can cause short circuit and might burn the unit.