Battery can t enter the system
The battery must be connected only to the motherboard. If you used a poor-quality replacement that does not give the needed energy, then do not be surprised that the kernel can not run all the cores of the processor and does not boot the system.