There are ways to test the battery capacity, but no way to know how much life is left before it fails completely.
Most li-ion are good for about 800 charge cycles, or 3 years. LifeP04 lasts longer, possibly 2000 cycles/10 years, but is a bit bigger/heavier.
I don't know what the battery tech...