A common misconception is that you can just use Ohm's law with your output voltage and resistance to calculate the battery drain current. When you are using a variable voltage APV, this is the wrong way to calculate the current. The output is only half of the equation.
To accurately calculate the input current, you must use both sides of the equation; Input and Output.
The law of conservation of energy states that power in (watts) must equal power out. (The true statement of the law is power in equals power out + efficiency losses. But for simplicity sake, we'll get to efficiency below.)
Example of the wrong way:
Code:
For Reference: Ohm's Law Calculator
Output = 5v and 2A
Input = 3.7v battery
Output Power: 5v * 2A = 10 watts
Input power [if we calculate the wrong way]: 3.7v * 2A = 7.4 watts
10 output power ≠ 7.4 input power
Now the right way:
Output Power = 5v * 2A = 10 watts
Since we know that output power must equal input power, we can do this...
Input Current = Output Power / Input Voltage = 10w / 3.7v = 2.70A
__________________________________________________ ___________
We are still missing one very important factor....efficiency losses. Efficiency losses are energy losses due to the resistance of doing work. Nothing runs a 100% (perpetual motion)
Originally Posted by The first law of thermodynamics:
In all cases in which work is produced by the agency of heat, a quantity of heat is consumed which is proportional to the work done; and conversely, by the expenditure of an equal quantity of work an equal quantity of heat is produced.
Since heat is an output, we must add the efficiency losses to the output side of the equation.
Typical efficiency for a voltage converter is in the 75-95% range. Efficiency is not constant. It varies with the desired outputs. You can find the efficiency for certain [manufacturer chosen] situations in the regulators data sheet. Assuming a value of 80% efficiency we can figure our adjusted input current.
10w / 80% = 12.5w total output
And then figure the input current:
12.5w / 3.7v = 3.38A
Compare 3.38A input to the 2A output and you can see that there is the possibility for a very large error if you calculate the drain current using only the output values. This is especially important when talking about maximum safe discharge rates of batteries.
***Note for users of APVs that are calibrated for RMS voltage***
You cannot use the RMS voltage to accuratly calculate battery drain current. VRMS is not a "real" value that can be used in these calculations. You must uses the AVERAGE voltage.
To accurately calculate the input current, you must use both sides of the equation; Input and Output.
The law of conservation of energy states that power in (watts) must equal power out. (The true statement of the law is power in equals power out + efficiency losses. But for simplicity sake, we'll get to efficiency below.)
Example of the wrong way:
Code:
For Reference: Ohm's Law Calculator
Output = 5v and 2A
Input = 3.7v battery
Output Power: 5v * 2A = 10 watts
Input power [if we calculate the wrong way]: 3.7v * 2A = 7.4 watts
10 output power ≠ 7.4 input power
Now the right way:
Output Power = 5v * 2A = 10 watts
Since we know that output power must equal input power, we can do this...
Input Current = Output Power / Input Voltage = 10w / 3.7v = 2.70A
__________________________________________________ ___________
We are still missing one very important factor....efficiency losses. Efficiency losses are energy losses due to the resistance of doing work. Nothing runs a 100% (perpetual motion)

In all cases in which work is produced by the agency of heat, a quantity of heat is consumed which is proportional to the work done; and conversely, by the expenditure of an equal quantity of work an equal quantity of heat is produced.
Since heat is an output, we must add the efficiency losses to the output side of the equation.
Typical efficiency for a voltage converter is in the 75-95% range. Efficiency is not constant. It varies with the desired outputs. You can find the efficiency for certain [manufacturer chosen] situations in the regulators data sheet. Assuming a value of 80% efficiency we can figure our adjusted input current.
10w / 80% = 12.5w total output
And then figure the input current:
12.5w / 3.7v = 3.38A
Compare 3.38A input to the 2A output and you can see that there is the possibility for a very large error if you calculate the drain current using only the output values. This is especially important when talking about maximum safe discharge rates of batteries.
***Note for users of APVs that are calibrated for RMS voltage***
You cannot use the RMS voltage to accuratly calculate battery drain current. VRMS is not a "real" value that can be used in these calculations. You must uses the AVERAGE voltage.