By mere refraining from food, upavasa is not done. Upavasa means close to the Lord. Vasa or Nivasa means place of stay, place to reside- so Nivasa with Krsna is upavasa. Stay close to the Lord. That is the meaning of upavasa.