80% of global energy consumption is still fossil fuels (oil/coal/gas), however.
Yes but primary energy isn't a good metric. There's 40-60% loss when converting fossil fuel to final energy being consumed.
That's primary energy, of which about half is wasted as heat. Electrification will bring this down by a lot.
Which perfectly proves that 90% of the comments in this thread have no clue about energy and think that running a grid on solar and wind only plus some batteries is a solved problem.