# Calculate 100mAH battery with active and inactive value

A battery-powered remote wireless sensor uses 10 mA when active, 10 uA when inactive. How long will it run on a 100 mAh battery when it is:

• active for 10 seconds once per hour
• active for 10 seconds once per week?

Who can help me fix this?

• Simple question for you first: How long would the battery last if the sensor is on all the time? – JRE May 27 at 11:16
• 100 mAH / 10 mA = 10 hours when active – Jasper Polder May 27 at 11:17
• And how long will it last in standby? And how much of the 100 mAh capacity can you really use before the battery voltage falls below the minimum required for the sensor to operate correctly. About 50% is a likely estimate but it certainly will unlikely be 100%. – Andy aka May 27 at 11:21
• 100 mAH / 0.01 mA (10uA) = 10000 hours when inactive – Jasper Polder May 27 at 11:22
• My calulation: 100 mAH = 3600sec. 10 sec = 10 mA, 3590 sec = 0.01 mA (10uA). 10/3600*10 + 0,01/3600*3590 = 0,03775. 100/0,03775 = 2649 hours. Is this correct? – Jasper Polder May 27 at 12:07