Statistical Battery Models and Variation-Aware Battery Management