It turns out, in addition to the well-known Moore's law of doubling the number of transistors in a microprocessor every one and a half years, there is a similar law to improve the energy efficiency of computing devices.
The electrical efficiency of the calculations, i.e. the number of computing operations per 1 kW in real computers has doubled every 1.6 years for 65 years already. For the reference point taken ENIAC 1946. An article on this topic was published by Stanford University professor Jonathan Koomey in IEEE Annals of History of Computing ( PDF1 , PDF2 ).
If we consider only the energy efficiency of the PC (1976-2009), then it improves every 1.5 years. ')
In other words, if you extrapolate the energy efficiency of 20-year-old systems to a modern MacBook Air, then the built-in 50Wh battery would be enough for about 2.5 seconds of the MacBook Air .
Despite such impressive progress, the cumulative power consumption of computers in the world is constantly growing. Data centers alone now account for more than 1% of global energy consumption.