Dallas 1287 RTC Restoration

Hello everyone, i've come here for some advice
So... I recently got a vintage machine from somewhere around the late 80s, although it boots and everything, it's actually
quite useless because it forgets CMOS values everytime it restarts (even if it's plugged on) and upon opening it up to locate the CMOS battery, it was nowhere
So I found out that the CMOS battery was nowhere because... it is actually inside the RTC IC! (Why Engineers??!?!? Why?!?!) but to my luck, it is actually possible dig to the chip and expose some battery contacts, which I did and it worked BUT big catch, how safe is that actually? I'm essentially rewiring a new battery to the CHIP and also to the old battery because it's still connected and i dont really see a way to get rid of that old rundown battery that we dont even have an idea of what its made of, I don't really fancy fires or explosions so has anyone here actually done this and had no bad things happen long term?
I say this mod worked, it appeared to but the laptop's charger decided to randomly die on me RIGHT after i did the mod, but it most likely did indeed work because i didnt complain about invalid configurations on CMOS, it just complained about system disks
So... I recently got a vintage machine from somewhere around the late 80s, although it boots and everything, it's actually
quite useless because it forgets CMOS values everytime it restarts (even if it's plugged on) and upon opening it up to locate the CMOS battery, it was nowhere
So I found out that the CMOS battery was nowhere because... it is actually inside the RTC IC! (Why Engineers??!?!? Why?!?!) but to my luck, it is actually possible dig to the chip and expose some battery contacts, which I did and it worked BUT big catch, how safe is that actually? I'm essentially rewiring a new battery to the CHIP and also to the old battery because it's still connected and i dont really see a way to get rid of that old rundown battery that we dont even have an idea of what its made of, I don't really fancy fires or explosions so has anyone here actually done this and had no bad things happen long term?
I say this mod worked, it appeared to but the laptop's charger decided to randomly die on me RIGHT after i did the mod, but it most likely did indeed work because i didnt complain about invalid configurations on CMOS, it just complained about system disks