Hi,
Amp-hours (or milliamp-hours) is not a measure of energy or of power. In a sense, it's a kind of a proxy for energy but only when you make an assumption about the average voltage at which those amperes are delivered over those hours.
For starters, let's get the concepts right:
Voltage: A measure of "electromotive force" (take the words apart and you'll get the idea). EMF moves current. More volts will move more current through any given circuit.
Current measured in Amperes or Milliamperes: A measure of how much electrical charge is moving. Every electron has the same charge, so current is a direct measure of how many electrons are moving.
Power: The rate (that's important: it's a rate) at which energy is delivered or transmitted. In electrical systems, it is the product of the voltage and the current. The standard units are Watts. One watt is produced when a one ampere current is produced by a one volt potential difference.
Energy: In electrical systems, it's measured in watt-hours. One watt hour is the energy delivered by a one-watt flow over a period of one hour.
To properly (precisely and accurately) computer power and energy in the general case, you have to be able to do some integral calculus. The calculations are simplified if the voltage is constant (which it will never be for todays or any foreseeable eletrochemical energy storage technology). In that case, you can tell how many watt hours of energy are delivered by a given number of amp-hours by multiplying the amp-hours by the voltage.
Some examples:
1000 mAH (equal to one amp-hour) at a constant voltage of 12 V yields 12 Watt-hours of energy.
The MacBook Pro battery is rated at 60 WH. If the system consumes power at the rate of 10 Watts, it could run for six hours.
And so on. As I said, if you want real, accurate, precise numbers, you have to replace these simple multiplications by the integral of the (varying) functions of current and voltage over time.
Great fun. This is the easiest stuff in EE. When you get to alternating current the math becomes nighmarish. I switched to CS...
Randall Schulz
iMac 20" Core Duo; MacBook Pro Mac OS X (10.4.5)