There's a lot of Linux apologists in your replies but my experience is exactly the same _with a laptop that supports Linux_ (Framework laptop).
I'm running a very recent kernel in Fedora and have tried numerous power saving mechanisms (currently autocpufreq, although it's results are not much different from gnome PPD) and I'm lucky if I get 3 hours from the thing while running 10-15 FF tabs and a single instance of VSCode+Remote SSH extension. This is ~1/2 of what I can get in Windows.
I think a lot of Linux users would be surpised how good their battery life would be if they installed Windows on their laptops. It's not Linux's fault per se, it's just that there's considerably less engineering manpower going into tuning the power efficiency of laptop hardware on Linux. People get up in arms because they can't reconcile the fact that "Windows is bloated" with the fact that it gets better battery life, but if you think about it for a few seconds it really shouldn't surprise anyone.