A laptop's battery is the component that provides power to the laptop when it is not connected to an external power source, such as a wall outlet or a docking station. A laptop's battery can wear out over time, losing its capacity and ability to hold a charge. This can cause the laptop to not turn on or shut down unexpectedly when it is not plugged in.