It is working perfectly fine: https://energy-charts.info/charts/energy/chart.htm?l=en&c=DE...
Heat pumps and electric cars are so much more efficient than ICE engines or gas heating. This is why the share doesn't change a lot. Even looking at consumption in Norway: https://robbieandrew.github.io/EV/img/NORenergy_road.svg You don't see the electric share going up a lot. Still oil consumption is collapsing-