Using a battery charger to batteries