Hoping this isn't a dumb question. I'm really new to this stuff..
I have a battery with 1000mAH, it consumes 20mA when it operates and 0.05mA when it sleeps. If I need the battery to last for a certain amount of time, lets say 8000 hours. How can I figure out the percent of time the battery will need to be operating and sleeping to total 8000 hours? Does anyone know of a formula to make this math easier?
Thanks in advance anyone who helps!
-F
Best Answer
Battery capacity C=1000mAh
Operating current Io=20mA
Sleeping current Is=0.05mA
Operating time To
Sleeping time Ts
Time total To+Ts=8000 ..................... (1)
Ignoring the self discharge,
C = IoTo + IsTs
1000 = 20*To + 0.05*Ts......................(2)
Equation (1) & (2) are two linear equations with two variables and easy to solve.
You may solve them using substitution method. Online solution here