We will always need coal.
Coal is REQUIRED to smelt steel. There's no other way to MAKE steel. The carbon in coal, and the slow hot burn, is REQUIRED.
Oh, we'll use free energy for heating our houses and our hovercars. But as long as we need steel, we'll need coal.