How to connect and use photovoltaic batteries