Showing results for 
Search instead for 
Did you mean: 
The HP Calculator Community Message Board is moving. While we prepare for the move, we are unable to accept new postings. During the move, you can look for help from other users by visiting . Or if you need technical support for your calculator visit: HP Calculators. .
Level 2
41 21 0 1
Message 1 of 2
Flag Post

Calibrate HP battery from BIOS

HP Recommended
HP Spectre x360 - 13-ac033dx

Dear all,


My laptop battery suddenly start getting crazy.

I am trying to run battery test and calibration from the BIOS since I am using Linux OS on my laptop.


Please help me to calibrate and test my laptop battery from the BIOS.


HP Support Agent
HP Support Agent
31,166 22,298 2,620 3,520
Message 2 of 2
Flag Post
HP Recommended

@SAMOKAMO I'm afraid HP doesn't support Linux as of now, I suggest making use of windows instead, that said, you maybe able to manually perform a test and calibration using the below steps as there are no option of doing this via the BIOS:


Install the HP Hardware Diagnostics using this link: click here (to perform the test)


Manually calibrating the battery requires four steps: fully charge the battery, discharge or drain the battery, recharge the battery, and then run the battery test. Calibrating the battery improves the accuracy of the battery gauge software so that it more accurately displays the current level of charge. The following instructions work with most battery types.


Step 1: Charge the battery

Use the power cord to charge the battery to a full charge.

  1. Plug in the power cord.

  2. Charge the battery to a full charge, 99% to 100%. To check the battery charge, mouse over the battery icon in the system tray on the Desktop.

  3. When the battery is fully charged, proceed to the next step.

Step 2: Discharge the battery

After the battery fully charges, use HP PC Hardware Diagnostics to discharge the battery.

  1. Unplug the power cord.

  2. Press and hold the Power button for at least five seconds to turn off the computer.

  3. Turn on the computer and immediately press the F2 key repeatedly, about once every second until the HP PC Hardware Diagnostics UEFI menu displays.

  4. Click Component Tests in the main menu.


    The purpose is to drain or discharge the battery, not get the results of the test. The battery discharges and the computer turns off before the test results display.


    Selecting Component Tests in HP PC Hardware Diagnostic UEFI

  5. In the list of Component Tests, click Memory.

    Selecting Memory in Component Tests

  6. Click Extensive Test.

    Selecting Extensive Test  in Memory Test

  7. Click Loop until error to start the test. Let the test continue until the battery is completely discharged and the computer shuts down.


    This test only discharges the battery and does not impact the memory.

Step 3: Recharge the battery

Recharge the battery fully before you calibrate the battery.


If you run the HP Battery Check before the battery charges fully, you might get a false battery failure result.

  1. Plug in the power cord to charge the battery.

  2. Charge the battery to a full charge, 99% to 100%. To make sure the computer reaches a full charge, keep the computer attached to the power cord for at least 3 hours.


    The battery continues to charge with the computer on or off.

  3. Check the battery charge. Turn on the computer and start Windows normally. On the desktop mouse over the battery icon in the system tray to view the battery charge percentage. Make sure the battery charge percentage is 99% or 100%.


    If you plug in your power cord and immediately run the HP Battery Check, you might get a false failure showing the battery is bad. If the battery is in a low-charge state (at less than 3%) you might also get a false reading.

    P.S: Welcome to HP Community 😉

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!

I am an HP Employee

Was this reply helpful? Yes No
Warning Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation