deal with battery and non-battery supplies in similar fashion