electricity can charge batteries