If you are looking for laptop plugged in not charging hp then below steps will help to resolve the issue.
Unplug the AC power cable.
Insert the battery into the battery compartment on the bottom of the notebook computer.
Plug the AC power cable into the computer and into an AC wall outlet, then allow the battery to charge for 15 to 30 minutes.
Unplug the power adapter cord from the notebook.