Leakage-Aware Battery Lifetime Analysis Using the Calculus of Variations | IEEE Journals & Magazine | IEEE Xplore