Which factors need to be taken into account when charging lithium-ion batteries, and what are their benefits?