-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Notebooks
- Notebook Hardware and Upgrade Questions
- Dual boot HP Omen: Ubuntu shutdown with new battery charged,...

Create an account on the HP Community to personalize your profile and ask a question
02-11-2021 09:33 AM - edited 02-12-2021 06:12 AM
Hi,
I replaced a dead battery with a new one on a HP Omen-15-ax009np notebook.
The notebook has been dual boot, managed by grub, during the last 3 years with no issues:
Windows 10 Pro 64-bit Version: 19041.804
Ubuntu 20.04 LTS
The battery was charged overnight.
With battery full charged, the notebook was reboot in Windows, also plugged to the AC adapter.
After login the AC adapter was unplugged. The first time it took some minutes until Windows shuts down abruptly, with no notification.
Tried again some more times. The last time Windows shutdown right as the notebook was unplugged form the AC adapter, suggesting a suddenly power failure.
Then I rebooted in Linux. The behaviour is the same. After a few seconds unplugged it shuts down. The battery was over 80% charged.
I went back to Windows, ran HP support assistant, updated BIOS firmware and all the drivers, and let the battery discharge until it the notebook shuts down again.
The booted in BIOS diagnostics, since there was yet some power in the battery, and ran a memory check until the computer shuts down to make sure battery is fully discharged.
Reboot again into BIOS and checked battery status. There was still some charge, about 40%.
Ran the memory test again until shutdown.
I had to do this about 4 ou 5 times to completely discharge the battery.
At this point the computer was not able to turn on by pressing the power button.
With the notebook turned off I connected the power adapter until power led turn whit, indicating full charge.
This should have done a manual battery calibration.
Booted again in windows with AC adapter plugged.
After login I unplugged the adapter and let it run on battery. It ran for about 6 hours.
Recharge again the battery to its full, with pc turned off.
But now, before booting, I unplugged the AC adaptor, then boot into grub and choose to start up Windows.
Windows almost started up. The computer shutdown just before the login screen. About 10 seconds after power on.
Plugged the AC adaptor again and rebooted Windows normally, then unplugged the adapter again.
The battery this way holds the notebook for about 6 hours.
Then I tried with Linux.
Same thing if booting in battery. The notebook shuts down just before the login screen.
But with Linux, even when booting with the AC adapter and then unplugged it, the battery does not hold many minutes. When indicator says 80% or so it shuts down. I tried several times.
Tried also to set kernel boot options in Linux to "noacpi" "acpi_osi=Linux" or "acpi_osi=Windows", but the behaviour is still the same.
The present state is:
cannot boot Windows or Linux from grub with battery, even if it is fully charged. The notebook shuts down right before the login screen. This is too strange, maybe a grub issue with ACPI (?).
If booting with AC adapter and then unplug after login in Windows, the battery holds the computer for about 6 hours.
But if booting with AC adapter and then unplug after login in Linux, the battery holds the computer for about 30 minutes only. The battery has 80% charge or more, but the computer is still shutdown.
Maybe this is an ACPI issue but i couldn't figure it out.
I’ll appreciate any suggestions,
thanks
02-11-2021 11:54 AM
I'm sorry, but HP only warranties their PCs for usage with the OS that comes preinstalled.
IF you replace that with a Linux distro, or add a Linux distro, then you assume full responsibility for maintaining that -- including solving any problems with booting the other OS and/or installing the other OS.
Modern PCs with UEFI, instead of the older BIOS, are especially difficult to install because you have to go into the UEFI settings and make several changes before you can even boot from a USB stick -- and we are unable to assist in that work.
Your best bet for support now is to contact the support forum of the distro you are using.
Since you are using Ubuntu, go here: https://ubuntuforums.org/
Good Luck
I am a volunteer and I do not work for, nor represent, HP
02-11-2021 05:36 PM
Hi @WAWood,
thanks for the response.
However the issue is not related to dual boot.
The notebook ran both OS for 3 years with the old battery.
The issue revealed just after replacing the old battery with the new one.
I mentioned the dual boot, because it happens with Linux and not with Windows, which is kind of strange and funny...
I just post the question here in the hope that someone had the same problem and could give me a hint.
Thank for the suggestion. I will post the question on ubuntu forums