electricity can charge a battery