The global energy supply is turning greener.