Try to install some app from the market which showing battery temperature. Original battery have temperature sensor to prevent overheating. If it's broken and showing significantly higher value, it may force shutdown to prevent damage to phone.