I a more generalist sense just things like using Electron vs native toolkits matter. The desktop Discord app is going to use substantially more power to run day to day than if it were a native code app that just used something like C++, and across millions of gamers for hours a night every night those resource requirements and power demands add up.
It isn't always just "average hardware is faster so use more inefficient frameworks to lower time to market". Using those shortcuts to ship makes sense, but it should then be a long term goal to reel in those expensive abstractions once you can start counting the amount of power your software is using on a regular basis by whole power plants required to keep your code running on a daily basis.