18650 battery capacity internal resistance detector automatic charging and discharging module Type-C port