To be honest numan, this is a difficult question to answer. I'll try to explain. Most modern ice packs contain an organic glycol mixed with water and a carboxymethylcellulose salt. The water contents is about 60%, the carboxymethylcellulose no more than about 5% with the glycol making up the rest. Now I know that carboxymethylcellulose sounds like a horribly complex chemical, but we've all seen it in the form of wallpaper paste. In this case, it's included to stop the liquid in the ice packs from sloshing around excessively. Packs with these substances are pretty stable but the glycol can be affected by light over time.
The other type of ice pack can contain ammonium nitrate, calcium ammonium nitrate and urea or sometimes each of these compounds alone. The ammonium salts are hazardous and are rarely used in some countries but urea is pretty harmless. These compounds have varying solubility in water, but the reaction between all three of them and water is endothermic which is ideal for the purpose used. Again, the shelf life of these compounds in solution is not ideal for the purpose, but they are cheap chemicals and the packs cost very little to manufacture.
These differences do make it difficult to assess whether your ice packs are behaving as they should. Old ice packs do lose their ability to maintain low temperatures over time but because the chemicals they contain vary so much, no one can tell you how long you can expect them to last.
If you gave me an ice pack to assess via qualitative and quantitative analysis in my uni labs, I could tell you exactly why, but short of that we can only guess from the properties of the compounds they contain.