One-zone models for spheroidal galaxies with a central supermassive black-hole: self-regulated Bondi accretion