An example is the progress bar used in `npm` during install operations. Someone discovered that it was extremely wasteful of resources. https://news.ycombinator.com/item?id=10974929
Little things like that add up. You could do even more by focusing on optimizing overall resource usage rather than just wall clock time. Perhaps even write software to automatically optimize others' software.
You want to find a community that is open to change and optimization, though - some maintainers are too busy or are afraid of change.
This could mean convincing your employer / your clients to switch to a permanent work-from-home policy (and helping them to implement that policy) or creating software that enables people to work remotely.
Assembly, C, C++, Rust are some examples.
JavaScript, Python and other interpreted or GC languages require more power.
Use the money you make to decrease your carbon footprint: Operating an electric car, buying or building a net-zero home, etc. Work from home. Get involved in local government.