Rising temperatures shorten battery life, but devices are improving fast enough to resist the ravages of climate change.