electric current can charge a battery