@GTP54
I reviewed your post and I understand that the computer is shutting down when the laptop battery reaches 50%.
Don’t worry, I assure you I will try my best to get this sorted.
What is the product number of your computer?
Meanwhile, I recommend you update the BIOS from the below link and check whether the issue is resolved.
https://support.hp.com/in-en/drivers
If you continue facing the issue, then reinstalled Microsoft ACPI-Compliant Control Method Battery under device manager.
Here is how you do it.
Step 1: Click the Windows “Start” button and right-click “Computer.”
Step 2: Click “Manage,” then “Device Manager.”
Step 3: Click the “Batteries” section. A list of devices will appear.
Step 4: Right-click the “Microsoft ACPI-Compliant Control Method Battery” device and click “Uninstall.”
Step 5: Click the “Action” menu item and “Scan for Hardware Changes” to reinstall the driver.
Restart the computer and the issue should be fixed.
Let me know how it goes and you have a great day!
P.S: Welcome to the HP Support Community 😊
If you wish to show appreciation for my efforts, mark my post as Accept as Solution. Your feedback counts!
Cheers!
Stay Home – Stay Safe
The_Fossette
I am an HP Employee