Assuming the battery is actually OK -- I'm not sure about the voltage being adequate, though -- what you did was erase the CMOS RAM. By taking out the battery and shorting the two leads, you purged all contents on the BIOS/CMOS. Settings in there can occasionlly become corrupt and purging them lets you start with a clean slate.