Anecdotally, my cheapo $500 linux laptop gets a full work day (so 6-8 hours depending on what I'm doing, unless I run docker, then it gets maybe 3 hours tops) while my previous 2017 $2000 macbook pro typically got around 4 hours for the same type of work.
I did spend about 2 hours optimising for battery when I got the laptop, but it was a once-off thing.
I did spend about 2 hours optimising for battery when I got the laptop, but it was a once-off thing.