Laptop battery use error

How should the battery of the laptop be maintained? In fact, for the current wide variety o