Laptop batteries usually only last from 2 to 4 years, which amounts to about 1,000 charges. However, there are a few factors that determine how long a battery will last before it finally gives out:
The best laptop batteries are made from lithium - a battery made from any other material is likely to have a shorter battery life.
The more you use your laptop, the less your battery may last. Remember, the average laptop battery only lasts for about 1,000 charges, so each time you recharge your laptop you step an inch closer to its demise.
There are three main types of batteries used in laptops, viz. Nickel-Metal Hydride (NiMH), Lithium-ion (Li-ion), and Lithium Polymer (Li-Po) batteries. NiMH batteries were outdated with the introduction of Lithium-ion in 1990s. Laptops with more than thickness of 18mm (Lithium-ion cells mostly come in cylindrical cells having a diameter of 18mm, length of 65mm) use Lithium-ion batteries. Slimmer laptops such as MacBook Air, etc. use Li-Po because of its ability to size as a pouch. Your laptop should have either of them depending on the thickness. Either of these batteries use Cobalt based chemistry, which allows the cell to have up to 3.7 Volts and a high energy density. Unfortunately, good energy density comes at a cost, the cost of instability.
Since the Lithium-ion cells are connected in series in a battery to provide the required voltage (Ranging from 10.8 - 14.4V), if a single cell's performance is deteriorated, it will affect the whole battery system. There is no real way to stop those cells from going bad (either deteriorated current capacity or deteriorated voltage) but there are some tips to be followed while charging and discharging the batteries.
So it all comes down to cycle life, the more times you charge and discharge per day, the faster the battery's retention capacity deteriorates.