President Chavez declared an electricity emergency in February in the oil-rich nation , saying the country was facing the worst drought in a century .