I'm not aware of any stories in the historical record of "real programmers" optimizing for power use, only for speed or code size.
Nowadays, I expect optimizations that minimize energy consumption are an important target for LLM hosts.
Apple got in a lot of trouble for reducing peak power without telling people, to avoid overloading dying batteries.