Brazil's president will need to work with Congress for the country to make good on its energy potential.