Utilization of a solar system to charge lithium-ion batteries and using the heat generated in an in-line lithium-ion battery to heat a guard room