@Davybrar3 Welcome to HP Community!
I understand that you are getting a battery error.
Please perform the battery test and let us know if you are getting a failure code.
1. Power off the PC and make sure that it is completely powered off.
2. Press the power button and the moment you press the power button immediately start tapping F2 key, you should see the system diagnostics screen.
3. Look for the component test, under that all the hardware will be listed, please choose Battery and initiate the quick test.
Note: If it fails it will generate a 24 digits alphanumeric failure id, please capture that.
Keep us posted,
If you would like to thank us for our efforts to help you,
Give us a virtual high-five by clicking the 'Thumbs Up' icon below, followed by clicking on the "Accept as solution" on this post,
Have a great day!