This is a catch 22 problem though probably your power supply if it is still the original one. You can get a replacement from the HP store. If you have enough power the HP support assistant has a battery checker
Just needed to know if all your queries were resolved?
If not, I could help you get there.
If you would like to thank us for our efforts to help you, go to the public post & give us a virtual high-five by clicking the "Thumbs Up" icon below, followed by clicking on the "Accept as solution" on my public post.
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".