When the battery voltage and current