3.3v switching regulator

Is there a way to predict how long a battery with a certain capacity will last if I know the current draw of each device that it will be powering?

A one amp hour battery capacity (1000mAH) will power a one amp load for one hour, a 100ma load for 10 hours, a 10ma current load for 100 hours. I think you see a math thing at work in there somewhere? :wink:

Lefty