Many users learn little about laptop battery maintenance
Heat is the primary killer of batteries. So we should keep it cool. One common way that happens is packing a running laptop into a backpack or briefcase. If the laptop fails to go to sleep, then the laptop can get crazy hot in an enclosed space. You can almost smell the loss of battery longevity.
The following is to recondition your battery regularly. Most laptop manufacturers (except Apple) don't generally tell you about this, but a simple process known as reconditioning (or occasionally, recalibrating) can breathe new life into your laptop battery and add capacity back. To do that, turn off your screen saver and any other power management tools which put your PC to sleep. Fully charge the laptop, and then let it run all the way down.
And finally and also importantly, remove it when you're not using it. When you leave your laptop plugged in at your desk all day every day, the battery never gets a chance to discharge and recharge - which is critical to its long-term health. So remove the battery. As long as your laptop is connected to AC power, the battery isn't necessary; it'll run without it. Just remember to pop it back in before you take your laptop on the go.
Do not discharge Li-ion too low; charge more often.
Furthermore, there are other tips. Limit the time the battery resides at 4.20/cell (full charge), especially if warm. Moderate the charge current to between 0.5C and 0.8C for cobalt-based lithium-ion. Avoid ultra-fast charging and discharging. If the charger allows, lower the charge voltage limit to prolong battery life. Keep the battery cool. Move it away from heat-generating environments. Avoid hot cars and windowsills. High heat and full state-of-charge, not cycling, cause short battery life in laptops. Remove battery from laptop when used on the power grid.