Maximilian Auffhammer at the University of California, Berkeley, and his colleagues assessed how temperature extremes affect consumption of electricity (pylons pictured) by analysing nine years of data on power use and weather from 166 areas of the United States.