I had to switch from Firefox to Safari on my M1 Max 16" MacBook Pro because the battery drains in a few hours. I experimented a lot with turning different plugins on and off, but the power draw remained almost constant.
Interesting. Up until recently I was on a intel Mac and Firefox was always in the list of "Apps Using Significant Energy". I don't know if it coincided with some Firefox improvement, but after switching to an M2 it has never show up since.
Fortunately it never affected any need to switch to another browser since I'm plugged in 95% of the time.