One day, I plugged in my laptop to my ethernet socket. I noticed it got warm very quickly. After some thinking, I monitored network traffic and noticed the frequency of useless broadcast messages due to an incorrectly designed network is absolutely amazing.
Using powertop, I estimated this leads to 2 W of wasted energy due to frequent wakeups. Given we have hundreds of computers in the building, I can imagine the waste is not negligible.
Same thing applies to a misconfigured desktop. I can save 1.5 W by running a tiling window manager and no desktop environment. I can imagine that tweaking GCC flags could even bring this number down. But just sane configuration does wonders.
Alas, I digress. I do recall that some fanned ARM chips could actually run long enough after power was cut off to shutdown safely because the power generated by the fans spinning down was enough to keep the chip powered and processing for the most part.
First, there was a lot of research in this area in the context of minimising data center power usage. But the main players who stand to benefit from improving power consumption operate in places where power is very cheap (they specifically place their data centers in such areas) and they are also making record profits. Perhaps there isn't a huge case for power optimization economically?
Second, ARM is slowly gaining traction in the server market, but Intel is the leader in this field. Semiconductor companies do spend a lot of time and resources on this, perhaps alleviating the need for the problem to be dealt with in the software stack.
Third, CPU frequency controls are already present in the Linux OS, which is the top server OS, and quite a bit of work has gone into it. This is the main mechanism for optimizing power consumption as far as I can tell.
It is only recently that people are starting to come back to thinking about efficiency, and I thank mobile apps for that, as people do notice when a specific app is a big battery drain. That has brought back reasons to optimize your code, because battery drain can mean poor reviews, and it has a material impact on the success of your product.
Which is a really long way to say, "Yes, we should worry about this."
One exception to this rule is wakeups which consume disproportionate energy so they need to be optimized separately. https://wiki.ubuntu.com/Kernel/PowerManagement/IdentifyingIs...
At some point of my career I actually measured milliAmps and synced it to an app waking up times using an oscilloscope, this was the core for the OS of a mobile phone.
Resource-hungry apps screams "unprofessional" to me. The makers (i.e. developers or company) behind these app have apparently decided for me that whatever trade off they did for my battery life/capability to multitask is worth it – without consulting me.
You don't need to run many such apps before even a relatively new (Intel) Macbook Air spins up the fan, gets hot and battery life plummets. Wirth's law is maddeningly real.
It's frankly ridiculous, considering the functional reqiurements of some of these apps – we had chat-apps comparable to Slack in the early 2000s, for goodness' sake.
So TLDR; Either the companies don't really care about user experience (in real contexts, i.e. using multiple apps – which most people do), or the software engineers are bad at their work.