implementing battery and rsss