Africa’s most advanced economy is battling to end crippling power cuts blamed on its ageing fleet of coal-fired plants, while seeking to transition away from the polluting fossil fuel.