Lead-acid battery and lithium battery temperature