How solar platforms use batteries