Only as recently as last year did China stop increasing its net electric generation from coal. And if you look at all primary energy (not just electricity), their dependence on fossil fuels is something like 90%.
https://ourworldindata.org/grapher/energy-mix?stackMode=rela...