The largest state in Brazil plans to generate almost 70 per cent of its electricity from renewables by 2020.