Principle of testing lead-acid batteries with internal resistance meter