Turning an arduino pro micro on/off with a switch

I have this SPDT Mini Power Switch: https://www.sparkfun.com/products/102

I've tried looking for resources on turning an Arduino ON/OFF with a switch but with no such luck. Could someone guide me towards some material that would help with this? I am powering my Arduino with a lipo charger basic and a polymer lithium battery 3.7v x 400mah

Are you trying to turn off arduino or the power source to the charger or both? The switch you have can only turn off one of them due to its single pole design. Also, which arduino are you using? If you have the battery connected to Vin, then attach the switch one end to battery and center to Vin.

You can do this |500x308

You may take a look on these |500x422 https://www.pololu.com/category/121/pololu-power-switches

liudr: Are you trying to turn off arduino or the power source to the charger or both? The switch you have can only turn off one of them due to its single pole design. Also, which arduino are you using? If you have the battery connected to Vin, then attach the switch one end to battery and center to Vin.

I am trying to turn off the power source to the charger - since this is connected to other components like an MPU-9150. I am currently using the Arduino Pro Micro (https://www.sparkfun.com/products/12587).

liudr: Are you trying to turn off arduino or the power source to the charger or both? The switch you have can only turn off one of them due to its single pole design. Also, which arduino are you using? If you have the battery connected to Vin, then attach the switch one end to battery and center to Vin.

I just tried your method with the center to vin and one to vcc on lipo charger basic and it worked thankyou!