Hard Reset: Follow steps from the link: https://hp.care/2GnkMa8. (do not skip any troubleshooting steps even if you feel steps are repeating)
Turn off the computer and wait five seconds.
Press the Power button to start the computer and repeatedly press the F10 key to enter the BIOS setup menu.
On the BIOS Setup screen, press F9 to select and load the BIOS Setup Default settings.
Press F10 to Save and Exit.
Use the arrow keys to select Yes, then press Enter when asked Exit Saving Changes?
Follow the prompts to restart your computer. If the issue persists, follow next steps.
Run hardware diagnostics test on battery and Charger:
Use the following steps to open the Component Tests menu.
Hold the power button for at least five seconds to turn off the computer.
Turn on the computer and immediately press Esc repeatedly, about once every second. When the menu appears, press the F2 key.
On the main menu, click Component Tests.
The Component Tests menu displays. Your Component Tests menu might be different, depending on the components installed on your computer.
To run both tests simultaneously, in the Component Tests menu, click Power Source, and then click Run once. Each component can also be tested individually.
AC Adapter Test:
The AC Adapter test provides an interactive test to determine if the AC power adapter is functioning properly. A good battery is required for this test. Before running the AC Adapter Test, HP recommends verifying that your computer can receive power by connecting a known working AC adapter.
Follow these steps to perform the AC Adapter Test.
In the Component Tests menu, click Power, and then click an AC Adapter Test.
Click Run once.
The AC Adapter Test begins.
When the test is complete, the results are displayed on the screen.
Follow these steps to perform the Battery Test:
In the Component Tests menu, click Power, and then click Battery.
Click Run once. The Battery Test begins.
When the battery test is complete, the results are displayed on the screen. For additional battery information, click Battery Details.
If the test passes, continue with these steps:
1. Go to Start, search for Device Manager, and open this result.
2. Expand batteries.
3. Right-click on the ACPI option (usually the 2nd option) and select delete or uninstall. Follow the prompts.
4. Shut down the computer.
5. Disconnect the charger.
6. Remove the battery.
7. Hold down the power button for 1 minute.
8. Insert the battery only.
9. Attempt to turn the battery on.
If possible, try an alternate charger.
Hope this helps! Keep me posted for further assistance.
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.