Lithium lead-acid battery capacity calculator