> Sooner or later our over-dependence on fossil fuels will have to end.
This could be in a very long time.
> While renewables will help us, our energy demands will likely have to decrease significantly.
I doubt we will respond to climate changes if this is a requirement. More likely we respond with carbon sequestration, climate engineering, capturing, and clearning fossil fuels.
> Since most of computer science is very energy intensive, will the use of software engineering/ technology decrease?
This amount of energy computing requires compared to things like driving, public transit, flying, a/c, etc... is so small (2%) that if we don't have the energy to compute we're living in a subsistence style world. And there is no way the majority of the population will decide to live like that to avoid climate change.
Similarly, the end of Moore’s law could be a boon to software engineering. It could become worthwhile to fine-tune the initial capacity of every single container, the hash function of every hash map, etc.
Most items that use electricity are becoming more efficient as is the renewable infrastructure. For example, there is a promising incandescent light design that is supposed to be even more efficient than current LEDs. Solar panels have increased in efficiency over the years and the plan is to place them in orbit (even more efficient) and beam the engery back to earth using infrared lasers. Not to mention many new renewable technologies being researched too.
Any future reduction in software engineers will not be due to energy availability. Automation, politics (eg. economic collapse, maybe due to our consumption based economy and the eventual regulations dealing with overpopulation), or a catastophic scenario (eg. Carrington event or pole flip) would be more likely.
Even if energy becomes more intermittent and expensive in the future, it is not clear if energy efficiency improves faster than the energy becomes scarce or the other way around.
It's the link between the physical world and digital (human made) world.
Any device will become a part of a techno-sphere. If you are somebody who can leverage your skills to add to that, you are valuable.