To prevent the battery from being damaged, on-board software will prevent the battery from charging if it is too hot or too cold. Make sure the battery is at room temperature before trying to recharge it.