How does the battery convert into electric current