When to use laptop battery? [duplicate]
Solution 1:
Battery life is based on charge cycles (number of times charged/discharged) and temperature. If you've got an outlet and your battery is charged (or mostly-charged), remove the battery.
Solution 2:
If you are using an AC adapter all the time, the battery isn't charged or discharged at all, and because of that it's resource is not depleted. Battery's life only decreases when current flows through it, or, in the other words, if you charge or discharge it.