A system and method for using statistical analysis of information obtained during a rechargeable battery charging session, wherein the method is for optimizing one or more parameters that are used for controlling the charging of a rechargeable battery during the charging session.