Laptops are our indispensable lifeline to the majesty that is the internet. We use them to work and play from anywhere in the world. But if you’re like most people, you probably keep yours plugged in when you’re at work or home. Stop doing that.

In order to squeeze as much life out of your lithium-polymer battery, once your laptop hits 100 percent, unplug it. In fact, you should unplug it before that.

Cadex Electronics CEO Isidor Buchmann told Wired that ideally everyone would charge their batteries to 80 percent then let them drain to about 40 percent. This will prolong the life of your battery — in some cases by as much as four times. The reason is that each cell in a lithium-polymer battery is charged to a voltage level. The higher the charge percentage, the higher the voltage level. The more voltage a cell has to store, the more stress it’s put under. That stress leads to fewer discharge cycles. For example, Battery University states that a battery charged to 100 percent will have only 300-500 discharge cycles, while a battery charged to 70 percent will get 1,200-2,000 discharge cycles.

Buchmann would know. His company Cadex sponsers Battery University. The site is the go-to destination for anyone interested in battery technology. And it’s not just constant power that shortens your battery’s life. While batteries degrade naturally, heat also accelerates the degradation. Extreme heat can cause the cells to expand and bubble. Kyle Wiens of iFixit told Wired: “Too much heat to the battery over time, and the battery isn’t going to last as long.”

You can battle this degradation by keeping the lid open and your laptop out of your actual lap while using it.

While those are simple fixes, Buchmann admits that putting the 40 to 80 percent battery-status workflow into practice is easier said than done. Keeping an eye on your computer’s battery level while trying to work can be a pain. “The ideal would be that the laptop would only charge 80 percent,” Buchmann says, “and if you had to travel, you could push a button before you travel to charge it to 100 percent.”

A search of Windows and OS X apps yielded nothing that would alert a user when a computer reached both an 80 percent charge and a 40 percent discharge. A quick DIY solution is to measure how long it takes to go from 80 percent to 40 percent then set a timer. Do the same thing as it charges from 40 percent to 80 percent. If it saves you money and keeps your battery healthy, it’s worth it.