One thing that you can do is keep spare batteries in your pocket, as close to your body as possible. Cold temperatures limit the performance of a battery but don't actually drain it. If your battery dies on the mountain, take it out, put it somewhere warm for a few minutes (like a close pocket)...