Then the jack is fine and the battery is just not taking the charge. Pretty common. Get a new battery.
What is the exact model number of your latptop? Model number is either on a sticker on the bottom of the unit or underneath the battery there will be a sticker with the model number.
I have found Anker replacement laptop batteries to be of very good quality, and usually they hold a charge longer and have a longer life than the original ones do.