How Do I Reset My Hp Laptop Battery. Wait my laptop has more than one battery. I realized it was not plugged in.

I also saw the nbattery was not secure in the set place. I noticed my battery was low by the little symbol. Normaly when I connect the laptop to adapter if the pc is charging the red LED will be on the it will be blue when the battery is fully charged.
How do I reboot my HP laptop and make it work like a brand new computer without losing important data on it I am using a Windows 10 HP laptop and want to factory reset it to fix some issues.
Do I keep the battery OUT of the laptop a while or put it back in. I removed the battery and the computer reset everything. But when I was working with charger connected suddenly the battery stopped charging. Normaly when I connect the laptop to adapter if the pc is charging the red LED will be on the it will be blue when the battery is fully charged.
