Chosen Solution

There is no light at the charger when plug in and my battery is bad so what is the solution.thanks

Use a multimeter to first teat the output of pins #2 & 4 on the mag-safe adapter first. Will it boot? See the pin out diagram on the right of this Wiki: https://en.wikipedia.org/wiki/MagSafe