Battery charger current regulation