Well, my Hp nx6310 is quite old now, about 6 if no more years since it was purchased. About a month ago the charger decided to give up by not charging the battery at all, I twisted the thin cable upwards and then BINGO! the battery was charging or at least trying to.
Anytime the cable went out...