Since I have never had a notebook, I do not know exactly how best to spare the battery. So I have two questions:
Is a laptop battery broken if you always operate it via the power cable?
Should I charge the battery, just like a smartphone battery, only up to 80%?
It would be best to keep the battery always at about 50%, but every 2 minutes charging cable in is also stupid.
What would also be clear, it would be the battery between 20% and 80% always commute. Because high and low voltage reduce the life of the battery.
If your notebook has an external battery, you can charge it once to 50%, take out and operate the laptop only with the power cord. Then just store the battery somewhere at room temperature and if it is needed, put it in the laptop and then fully charge it.
An extra laptop battery usually lasts about 2-4 years without problems. Otherwise, there are also replacement batteries that cost "only" about 20-40 euro.
If you have no mobile operation, you should once fully charge the battery and then take him out of the laptop and him, for example. Place in a drawer. Then you should use as long as the laptop on AC power. The power supplies are now strong enough that you can also be used for it.
If you're mobile again, unplug the power cord, charge the battery, check the status of the battery and work with it.
An employee who lent me a new laptop broke the computer's battery within three months because he kept it on the charger.