With your eyes closed, you are able to consciously go within your body and attend to it. The pain is your body's way of communicating to you. When you meditate on the pain, you are finally listening to your body. It needs and wants your attention. If you get hungry while you are resting, eat foods cooked as little as possible, preferably raw.
Raw foods are easiest for the body to metabolize and utilize.
Cooked foods are very, very taxing on the body. They exhaust you of your energy. If you are restless while resting, then exercise. The best exercise to do is anaerobic. Anaerobic exercises are those exercises of intensity for a short duration that build muscle tone, such as weight lifting.