Any laptop computer has a battery pack which provides power to the laptop while it’s not connected to the wall-plug through AC/DC power adapter
The laptop battery life depends upon many conditions and circumstances: screen brightness, intensity of running programs, the temperature of the working environment, etc…
The same battery could last longer in the same laptop if you optimize the power usage settings in the control panel. You can lower screen brightness, reduce CPU processing speed, chance cooling method, and other settings available on your laptop. Some of these settings could be changed only through the manufacturer’s power management software.
In most laptops the main battery connects directly to the system board.
TROUBLESHOOTING LAPTOP BATTERY PROBLEMS.
Let’s say your laptop stopped running on the battery power. It works fine from the AC adapter but shuts down as soon as you unplug the adapter. If that’s the case, try reconnecting the main battery. Remove it from the laptop and install back. It’s possible the battery is not making good connection with the motherboard.
Unfortunately, the only reliable way to test the main battery is replacing it with another known good battery.
If the laptop cannot detect the battery, even though it’s installed, try replacing the battery with a new one. If you still have the same issue, most likely there is a problem wiht the system board.