I get about 4 hours productive use out of my work Macbook M1 pro (32 GB RAM, 1TB NVMe) on battery. I get about 3.5 hours productive use out of my Zen2 HP Omen laptop (64 GB RAM, 3TB NVME). Though I have to reduce the brightness of the Zen to get better lifetime.
I am a bit of a power user, running large builds, analytics, and other things, so its not surprising to me that I get less than others. I would like to see an all-day battery laptop for people like me, though I suspect it will be a few more years.
Oh, and the original work windows laptop I had (fully corporate controlled) with 32GB RAM and 500GB NVMe barely lasted an hour on battery. And it BSODed frequently.
I'd still prefer a Linux work laptop, but the Mac is at least a poor-mans version of it. Windows, even with WSL2, was horrible.