| **Impairment of Goodwill and Other Assets**              | 6 Months Ended                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
|----------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
||
| **Goodwill and Intangible Assets Disclosure [Abstract]** |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| Impairment of Goodwill and Other Assets                  | Impairment of Goodwill and Other AssetsWe test our goodwill and other indefinite-lived intangible assets for impairment annually, or under certain circumstances, more frequently, such as when events or circumstances indicate there may be impairment. Indications of potential impairment of goodwill related to CapRock (which is reported in discontinued operations) were present at the end of the quarter ended January 1, 2016 due to the downturn in the energy market and its impact on customer operations, which also resulted in a decrease in the fiscal 2016 outlook for CapRock. Consequently, in connection with the preparation of our financial statements for the quarter ended January 1, 2016, we performed an interim test of CapRock’s goodwill for impairment as of the end of the quarter ended January 1, 2016. To test for potential impairment of goodwill related to CapRock, we prepared an estimate of the fair value of the reporting unit based on projected discounted cash flows. The carrying value of the CapRock reporting unit at the end of the quarter ended January 1, 2016 exceeded its estimated fair value, and accordingly, we allocated the estimated fair value to the assets and liabilities of the CapRock reporting unit to estimate the implied fair value of goodwill.In conjunction with the above-described impairment test, we also conducted a test for impairment of other assets related to CapRock, including amortizable intangible assets and fixed assets, and impairment of these assets was considered prior to the conclusion of the goodwill impairment test. The estimated fair value of these other assets related to CapRock was determined based, in part, on an analysis of projected cash flows.As a result of these impairment tests, we concluded that goodwill and other assets related to CapRock were impaired as of January 1, 2016, and we recorded a non-cash impairment charge of $367 million, of which $290 million related to goodwill, in the quarter ended January 1, 2016. Most of the $367 million impairment charge was not deductible for tax purposes. |

| X                                                                                                                                                                                                                       |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - References
No definition available.
+ Details**Name:**us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract**Namespace Prefix:**us-gaap_**Data Type:**xbrli:stringItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
The entire disclosure for the aggregate amount of goodwill and a description of intangible assets, which may include (a) for amortizable intangible assets (also referred to as finite-lived intangible assets), the carrying amount, the amount of any significant residual value, and the weighted-average amortization period, (b) for intangible assets not subject to amortization (also referred to as indefinite-lived intangible assets), the carrying amount, and (c) the amount of research and development assets acquired and written off in the period, including the line item in the income statement in which the amounts written off are aggregated, if not readily apparent from the income statement. Also discloses (a) for amortizable intangibles assets in total and by major class, the gross carrying amount and accumulated amortization, the total amortization expense for the period, and the estimated aggregate amortization expense for each of the five succeeding fiscal years, (b) for intangible assets not subject to amortization the carrying amount in total and by major class, and (c) for goodwill, in total and for each reportable segment, the changes in the carrying amount of goodwill during the period (including the aggregate amount of goodwill acquired, the aggregate amount of impairment losses recognized, and the amount of goodwill included in the gain (loss) on disposal of a reporting unit). If any part of goodwill has not been allocated to a reportable segment, discloses the unallocated amount and the reasons for not allocating. For each impairment loss recognized related to an intangible asset (excluding goodwill), discloses: (a) a description of the impaired intangible asset and the facts and circumstances leading to the impairment, (b) the amount of the impairment loss and the method for determining fair value, (c) the caption in the income statement or the statement of activities in which the impairment loss is aggregated, and (d) the segment in which the impaired intangible asset is reported. For each goodwill impairment loss recognized, discloses: (a) a description of the facts and circumstances leading to the impairment, (b) the amount of the impairment loss and the method of determining the fair value of the associated reporting unit, and (c) if a recognized impairment loss is an estimate not finalized and the reasons why the estimate is not final.  May also disclose the nature and amount of any significant adjustments made to a previous estimate of an impairment loss.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16373-109275Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=35741047&loc=d3e13816-109267Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=35741047&loc=d3e13854-109267
+ Details**Name:**us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock**Namespace Prefix:**us-gaap_**Data Type:**nonnum:textBlockItemType**Balance Type:**na**Period Type:**duration |