That must be the fault of the app than the Electron framework itself.
What does seem to be in the app's control is whether it is fast.
See VS Code and Atom; huge difference in performance but both will chew up your battery.
So even if Electron is a solid foundation, there is probably a bias towards inexperienced developers in who it attracts to work with it.