Chosen Solution

When my battery is in, it blinks 3times without power, but when I take It out and plug to power adapter, it comes up… Update (11/11/2021) What’s is the problem and what can I do to resolve it.

The battery has a bad cell. you will need a new battery. if you can’t find one carefully open the battery case and you will find the battery pack or cells. they will have numbers on them. I think that this one is a series of 18650 lithium batteries.

Is it one of the older Compaqs, Compaq consumer (post 2007 HP) or HP Compaq (Business)? The issue with these back then on the consumer side is they were always “budget HPs” with binned parts so they often had more OOW issues then the HPs of the era. It sounds like you have one of the HP Consumer era units. The HP Compaq Commercial units are tanks. Next thing I would try is to remove the CMOS battery and hope for the best, but it’s probably a bad motherboard if a new battery didn’t help. I had one fail almost before the warranty expired in high school due to the lower quality parts, since they’re so cheaply built sad to say. Sometimes the BIOS just needs a physical reset and it sounds like there may be something funky in the CMOS RAM.