Hi. I'm Brian and I'll try to help.
This sounds like it could be a problem either with the hardware or, perhaps, with the battery driver. Here's HP's advice for this condition: https://h30434.www3.hp.com/t5/Notebooks-Archive-Read-Only/My-laptop-battery-is-not-charging-after-36-even-after/td-p/7236584