South Africa's large coal sector provides about 80% of the country's energy needs.