Your motherboard's battery is possibly weak. The replacement can be done yourself if you are familiar with opening up your PC, if not you can send it to a computer shop and get it replaced.
I can replace the battery but would that really stop it from booting isn't it getting power from being plugged in and if it is the battery will I have to reload bios after new battery is installed