I am sure there is not a problem with the mainboard battery. Because if don't let xp to boot, system time is preserved even after power down. Another interesting point is that this problem does not occur if I start the system in safe mode.