Li-ion are different from all other rechargeable batteries, since they rely upon a crystalline phase of lithium cobaltite. This material, if not used, produces a passivated layer that slowly brings the battery to death. This behavior leads to the misconception of the three years life, disregarding the use or non-use of the battery.
To avoid passivation of the cobaltite, that increases the internal resistance of the battery and diminishes the mass of active material, it is enough a cycle the battery every three months. In this state, you can store the battery until you reach the 500th cycle. The continue "standby" use or storage in a drawer will lead to battery death in about three years. Malfunction of the electronics built in the battery pack can only shorten battery life.
It is not bad, if you think that gel-cell (SLA) has a life of 200 - 300 cycles. SLA, anyway, stands better in standby/backup use, up to eight years.
NiCD are more resistant than NIMH, due to the intrinsic structure of negative pole, which is made of sinterized cadmium. They also stands better to overtemperature and overcharging. Also they may get to 1000 cycles. NICD usually fails due to defective sealing, that degrades the electrolyte, or because of a short circuit of the fiberglass separator , due to a growth of cadmium crystals in it. Both are pretty sudden failures.
Hi capacity NiMH (like 2100 mAh AAs) MAY cycle 500 times, if never allowed to overheat. In practical use, by driving heavy loads, they may actually overheat. Also, if not properly charged, they will also overheat.
These thermal stresses may ultimately lead to a life cycle of 50 times. NiMH stores hydrogen at the negative pole in a nickel-palladium "sponge", that is really sensitive to temperature higher than 30 - 40 °C. They dies usually because of the progressive degradation of the nickel-palladium sponge. KEEP THEM FRESH!
Hope it has been clear.
Anthony