I like Al Dente to limit the max battery charge to 80%. Mine spends a lot of time plugged in.
AlDente
AlDente – Charge Limiter The ALL-IN-ONE charge Limiter App for MacBooks. Download Free Get AlDente Pro AlDente gives you the tools you need to extend the life of your MacBook battery. Why do I need this? Li-ion batteries (like the one in your MacBook) last the longest when operated between 20%...apphousekitchen.com
I'm not against third-party apps (I have actually used CoconutBattery and iStat for years), but my M2 MBA on 14.2 also stays plugged in nearly 100% of the time, and the MacOS battery optimization is doing precisely the kind of charge limiting you are talking about, right out of the box.
I am sure Al Dente and other software can give you more granular control over the battery, but I just wanted to point out that the built-in tool does exist and might be just fine for someone brand new to Macs.