Besides the fact that a coal-burning plant is more efficient, one difference is a cleaner city. Another difference is that it can be charged from other sources, e.g. solar at home. Another difference is that the grid is typically a mix, not just coal. And another difference is that the battery is basically an abstraction which abstracts away the power supply so this becomes a different (easier) problem to fix.