I suggest using the HP PC Hardware diagnostics UEFI utility to check the systemboard for proper operation.
Press the power button and then immediately begin tapping the F2 key to invoke the HP PC Hardware diagnostics UEFI utility.
The following images are just an example. YOu should click on system test in your case.

From your description, all should be ok.
Sometimes a restart will effectively be a hard restart and resolve issues. If the system fan is working you should hear it whenever the notebook needs a boost in CPU or graphics cooling.