I'm running Fedora with the i5-1240p, but I can squeak out maybe 4.5hours max if I'm just in VS Code and don't have my brightness maxed out. With max brightness and Google meet running in Firefox, I barely get 2. And that's with the "Power Saver" profile enabled in GNOME.
I really love the machine otherwise, but I can't say I haven't considered just getting a Macbook Air (especially now that they have the 15").