The only exception would be nuclear energy. Heavy elements like Uranium got their stored energy from ancient supernovae, that doesn't come from the sun. And fusing hydrogen is tapping energy that has been around since the Big Bang.
Hope this helped :)