I have a wireless sensor which draws 20mA for 20us and draws 40uA sleep current for rest of the period. The period is 5min. I want to estimate the capacity of the battery which should power the sensor without replacement. Can anybody help me in this by providing some formula or methodology?