A simple way to significantly extend battery longevity is to limit charge to 80% (only charging to 100% occasionally when you know you might need it, like a long day travelling).
Unfortunately Apple doesn't yet provide this option on most of it's devices, other than the iPhone 15 line. But you can use third-party apps to do it on Macs.