a charger can charge a battery