Hi Thewonderboy44,
Thank you for visiting the HP Support Forums and Welcome. I have read your thread on your HP Pavilion dv6 Notebook and having an issue with the battery. Here is a link to test and calibrate the battery. Here is a link to test the ac adapter.
If that does not help try the Microsoft ACPI-Compliant Control Method Battery is basically the driver that communicates between the computer and the battery. There is a chance that it is corrupted. It is reading the battery level wrong, so the computer thinks the battery level is higher then what is actually is, so when it runs out of juice it shuts down.
Step 1. Go to Device Manager
Step 2. Select Batteries
Step 3. Right click the "Microsoft ACPI-Compliant Control Method Battery" that is listed there
Step 4. Click Uninstall
Step 5. At the prompt put a check in the box to remove the current driver
Step 6. Shutdown the computer
Step 7: Remove the battery for minute and then put it back in
When the computer comes back up it should automatically find the driver.
Step 8. Go to Device Manager
Step 9. Select Batteries
Step 10. Right click the "Microsoft ACPI-Compliant Control Method Battery" that is listed there
Step 11. Click "Search automatically for updated driver software"
Do the same thing with Microsoft ACPI-Compliant Embedded Controller.
Hope this helps.
Thanks.