# Power consumption

!This is only measured for Push7 as the power consumption is not relevant for IOWAY as it’s permanently plugged in!

## Estimated battery life

### Table calculations

To calculate the estimated lifetime we start from the measured power consumption of transmitting a message and the sleep current. The sleep current was considered in 2 cases (A small arbitrary margin was taken to take the self discharge of the battery into account):

• When the PIR sensor is turned on the considered sleep current is 15µA
• When the PIR sensor is turned off the considered sleep current is 7µA

For the current consumption of transmissions, we take into account how long the transmission takes, and the average current we consume during this period. We once again consider two cases:

• Tx power 15: 270ms - 14.4mA
• Tx power 17: 270ms - 32mA

We calculate how long we will be consuming the active current during a day considering the number of messages that need to be send. By taking into account the remaining sleep time, we can derive an total average consumption.

Finally, we take the battery capacity and divide this by the average current and convert this to the amount of months the battery would last.

Notes

• A button press/magnetic change/pir always result in 2 messages being send
• We consider a month to be 30 days in the tool for simplicity
• The used formula can be viewed in the html code of the page

## Power consumption optimizations

### Temperature/humidity

This sensor is already very low power when not in use (100nA), the current consumption cannot be further reduced. The sensor does not need to be initialized to enter low power mode. It only consumes more current during measurements.

### Pir sensor

The pir sensor, when placed on the board, consumes quite a bit of power. It needs to be initialized to enter the low power mode as we need to put it in “Wake Up” operation mode. In the other modes, the PIR will constantly provide raw data on the output. To allow the used to turn off the sensor completely, the vdd of the sensor was connected to a GPIO pin. For the push7 V2, the VDD pin is connected to PB14. For push7 V3, the VDD is connected to PB13

### Accelerometer

The accelerometer enters sleep mode (100nA) by default and does not need to be initialized.

### Light sensor

The light sensor does not need to be initialized to enter low power mode (500nA). It only consumes more current during measurements.

### Hall effect sensor

The hall effect sensor consumes about 500nA. On the push7 V2 it can be turned off by turning off pin PH0. The push7 V3 won’t have this ability.