Saving Battery Power

i also heard activating pull up's for all pins that arent going to be used saves power as well

pinMode (inputPinx, INPUT_PULLUP);