Off-grid photovoltaic battery power generation