Your iDevice needs to be fully discharged and recharged at least once a month to operate at maximum efficiency and keep the battery from dying. You’ll also want to make sure that you don’t store the device with a dead battery, as that can also cause the battery to lose charge capability—when your battery dies, make sure to recharge it quickly.