How to use batteries with broken photovoltaic panels