Is the Surface Pro 8 Battery Life a Dealbreaker?

Hi all,

I've heard terrible things about the Surface Pro 8's battery life. I found an excellent deal on a sealed, brand-new Surface Pro 8 (i7, 16 GB RAM) w/ keyboard on Marketplace ($540).

I'm a student who wants to last a school day (8 hours) with it, just taking notes, using Google Docs/Slides, etc. and also coding on VS Code (web dev and Python). At 60hz and not max brightness, will it be good enough?

Thanks.