The Dependence of Radio-Mode Feedback on Baryonic and Halo Mass