If your laptop is actually plugged in and yet it is still not charging, the battery might be the culprit. If so, learn about its integrity. If it's removable, take it out and press (and hold down) the power button for around 15 seconds. What this will do is drain the remaining power from your laptop.
Also check out these methods to see if any one will work.
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".