Replacement of a Li-Ion battery
Every Li-Ion battery has got a protection circuit and some time it is smart, There may be another 1 are 2 terminal extra, for temp sense and smart application bateery charge vel etc. Try to change with battery circuit, be care full while doing and avoid short circuit.