I have used Asus, Dell and HP Laptops with Ubuntu on them. The battery management is so pathetic that within a few months the battery is fried. Now, I have Ubuntu on my Desktop and Windows 10 on my laptop although I hate it.
Which line of HP laptops? The battery in my ZBook from 2014 lasted until the end of last year before dropping to 75% overnight and lasting about two hours unplugged. As a reference, the new battery I replaced it with drops only to 95+%.
I used Ubuntu all those years before switching to Debian