Long-term Debt - Short and Long-term Borrowings (Details) - USD ($) | Dec. 06, 2019 | Jun. 14, 2019 | Apr. 29, 2019 | Apr. 30, 2018 | Apr. 28, 2018 | Dec. 31, 2019 | Dec. 11, 2019 | Nov. 13, 2019 | May 01, 2019 | Feb. 01, 2019 | Dec. 31, 2018 | Oct. 01, 2018 | May 31, 2018 |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | | | | | | $ 6,044,000,000 | | |
Less current maturities | | | | | | $ (1,824,000,000) | | | | | (535,000,000) | | |
Less net debt issuance costs | | | | | | (78,000,000) | | | | | (61,000,000) | | |
Less discounts | | | | | | 0 | | | | | (1,000,000) | | |
Total long-term debt | | | | | | 4,956,000,000 | | | | | 5,447,000,000 | | |
3.5% Convertible Notes due 2019 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | $ 0 | | | | $ 170,000,000 | 220,000,000 | | |
Interest rate, percentage | | | | | | 3.50% | | | | | | | |
3.25% Convertible Notes due 2020 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | $ 45,000,000 | | | | | 45,000,000 | | |
Interest rate, percentage | | | | | | 3.25% | | | | | | | |
5.375% Senior Notes due in 2024 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Senior Notes | | | | | | $ 88,000,000 | | | | | 500,000,000 | | |
Interest rate, percentage | | | | | | 5.375% | | | | | | | |
5.75% Senior Notes due 2025 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Senior Notes | | | | | | $ 600,000,000 | | | | | 600,000,000 | | |
Interest rate, percentage | | | | | | 5.75% | | | | | | 5.75% | |
5.00% Senior Notes due in 2026 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Senior Notes | | | | | | $ 350,000,000 | | | | | 350,000,000 | | |
Interest rate, percentage | | | | | | 5.00% | | | | | | | |
4.75% Senior Notes due 2028 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Senior Notes | | | | | | $ 600,000,000 | | | | | 0 | | |
Interest rate, percentage | | | | | | 4.75% | 4.75% | | | | | | |
Revolving Credit Facility | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | $ 0 | | | | | 0 | | |
Description of variable rate basis | | | | | | 3-Month LIBOR | | | | | | | |
Basis spread on variable rate | | | | 2.50% | 1.75% | 1.75% | | | | | | | |
Agua Caliente Borrower 2 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | $ 0 | | | | | 39,000,000 | | |
Interest rate, percentage | | | | | | 5.43% | | | | | | | |
Alpine Financing Agreement, due 2022 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | $ 119,000,000 | | | | | 127,000,000 | | |
Description of variable rate basis | | | | | | 3-Month LIBOR | | | | | | | |
Alta Wind I-V, lease financing arrangement, due 2034 and 2035 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | $ 844,000,000 | | | | | 886,000,000 | | |
Buckthorn Solar, due 2025 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | $ 129,000,000 | | | | | 132,000,000 | | $ 132,000,000 |
Description of variable rate basis | | | | | | 3-Month LIBOR | | | | | | | |
Basis spread on variable rate | | | | | | 1.75% | | | | | | | |
Carlsbad Holdco, due 2038 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | $ 216,000,000 | | | | | 0 | | |
Interest rate, percentage | | | | | | 4.21% | | | | | | | |
Letters of credit outstanding | | | | | | $ 5,000,000 | | | | | | | |
Carlsbad Energy Holdings LLC, due 2027 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | $ 194,000,000 | | | | | 582,000,000 | | | | | 0 | | |
Interest rate, percentage | 4.12% | | | | | | | | | | | | |
Letters of credit outstanding | | | | | | 87,000,000 | | | | | | | |
Basis spread on variable rate | 1.75% | | | | | | | | | | | | |
CVSR Financing Agreement | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | 696,000,000 | | | | | 720,000,000 | | |
CVSR Holdco due 2037 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | $ 182,000,000 | | | | | 188,000,000 | | |
Interest rate, percentage | | | | | | 4.68% | | | | | | | |
Duquesne Due 2059 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | $ 95,000,000 | | | | | 0 | | |
Interest rate, percentage | | | | | | 462.00% | | | | | | | |
El Segundo Energy Center, due 2023 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | $ 303,000,000 | | | | | 352,000,000 | | |
Energy Center Minneapolis Series D, E, F, G, H Notes, due 2025-2037 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | 328,000,000 | | | | | 328,000,000 | | |
Laredo Ridge Wind, LLC, due in 2026 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | $ 84,000,000 | | | | | 89,000,000 | | |
Description of variable rate basis | | | | | | 3-Month LIBOR | | | | | | | |
Basis spread on variable rate | | | | | | 2.125% | | | | | | | |
Kansas South, due in 2030 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | $ 24,000,000 | | | | | 26,000,000 | | |
Description of variable rate basis | | | | | | 6-Month LIBOR | | | | | | | |
Basis spread on variable rate | | | | | | 2.25% | | | | | | | |
Kansas South, due in 2030 | London Interbank Offered Rate (LIBOR) | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Basis spread on variable rate | | | | | | 2.00% | | | | | | | |
Kawailoa Solar Holdings LLC, due 2026 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | $ 82,000,000 | | | | | 0 | | |
Basis spread on variable rate | | | | | | 1.375% | | | | | | | |
Marsh Landing Term Loan Facility | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | $ 206,000,000 | | | | | 263,000,000 | | |
Description of variable rate basis | | | | | | 3-Month LIBOR | | | | | | | |
Basis spread on variable rate | | | | | | 2.125% | | | | | | | |
Oahu Solar Holdings LLC, due 2026 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | $ 91,000,000 | | $ 90,000,000 | | | 0 | | |
Basis spread on variable rate | | | | | | 1.375% | | | | | | | |
Repowering Partnership Holdco LLC, due 2020 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | $ 228,000,000 | | | | | 0 | | |
Basis spread on variable rate | | | | | | 0.85% | | | | | | | |
South Trent Wind Due 2028 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | $ 43,000,000 | | | | | 50,000,000 | | |
Description of variable rate basis | | | | | | 3-Month LIBOR | | | | | | | |
Basis spread on variable rate | | | | | | 1.35% | | | | | | | |
Tapestry Wind LLC due in 2031 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | $ 156,000,000 | | | | | 151,000,000 | | |
Description of variable rate basis | | | | | | 3-Month LIBOR | | | | | | | |
Basis spread on variable rate | | | | | | 1.375% | | | | | | | |
Utah Solar Portfolio, due 2022 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | $ 254,000,000 | | | | | 267,000,000 | | |
Basis spread on variable rate | | | | | | 2.625% | | | | | | | |
Viento Funding II, Inc., due in 2023 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | $ 42,000,000 | | | | | 146,000,000 | | |
Description of variable rate basis | | | | | | 6-Month LIBOR | | | | | | | |
Basis spread on variable rate | | | | | | 2.00% | | | | | | | |
Walnut Creek Energy, LLC, due in 2023 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | $ 175,000,000 | | | | | 222,000,000 | | |
Description of variable rate basis | | | | | | 3-Month LIBOR | | | | | | | |
Basis spread on variable rate | | | | | | 1.75% | | | | | | | |
Other Debt | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | $ 296,000,000 | | | | | 343,000,000 | | |
Project Level Debt | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | 5,175,000,000 | | | | | $ 4,329,000,000 | | |
Letter of Credit | Revolving Credit Facility | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Letters of credit outstanding | | | | | | 70,000,000 | | | | | | | |
Letter of Credit | Agua Caliente Borrower 2 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Letters of credit outstanding | | | | | | 14,000,000 | | | | | | | |
Letter of Credit | Alpine Financing Agreement, due 2022 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Letters of credit outstanding | | | | | | 16,000,000 | | | | | | | |
Letter of Credit | Alta Wind I-V, lease financing arrangement, due 2034 and 2035 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Letters of credit outstanding | | | | | | 45,000,000 | | | | | | | |
Letter of Credit | Buckthorn Solar, due 2025 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Letters of credit outstanding | | | | | | 26,000,000 | | | | | | | |
Letter of Credit | CVSR Financing Agreement | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Letters of credit outstanding | | | | | | 0 | | | | | | | |
Letter of Credit | CVSR Holdco due 2037 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Letters of credit outstanding | | | | | | 13,000,000 | | | | | | | |
Letter of Credit | Duquesne Due 2059 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Interest rate, percentage | | | | | | | | | 4.62% | | | | |
Letter of Credit | El Segundo Energy Center, due 2023 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Letters of credit outstanding | | | | | | 138,000,000 | | | | | | | |
Letter of Credit | Energy Center Minneapolis Series D, E, F, G, H Notes, due 2025-2037 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Letters of credit outstanding | | | | | | 0 | | | | | | | |
Letter of Credit | Laredo Ridge Wind, LLC, due in 2026 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Letters of credit outstanding | | | | | | 10,000,000 | | | | | | | |
Letter of Credit | Kansas South, due in 2030 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Letters of credit outstanding | | | | | | 2,000,000 | | | | | | | |
Letter of Credit | Kawailoa Solar Holdings LLC, due 2026 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Letters of credit outstanding | | | | | | 13,000,000 | | | | | | | |
Letter of Credit | Marsh Landing Term Loan Facility | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Letters of credit outstanding | | | | | | 27,000,000 | | | | | | | |
Letter of Credit | Oahu Solar Holdings LLC, due 2026 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Letters of credit outstanding | | | | | | 17,000,000 | | | | | | | |
Letter of Credit | Repowering Partnership Holdco LLC, due 2020 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Letters of credit outstanding | | | | | | 4,000,000 | | | | | | | |
Letter of Credit | South Trent Wind Due 2028 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Letters of credit outstanding | | | | | | 12,000,000 | | | | | | | |
Letter of Credit | South Trent Wind Due 2028 | London Interbank Offered Rate (LIBOR) | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Basis spread on variable rate | | 1.35% | | | | | | | | | | | |
Letter of Credit | Tapestry Wind LLC due in 2031 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Letters of credit outstanding | | | | | | 18,000,000 | | | | | | | |
Letter of Credit | Tapestry Wind LLC due in 2031 | London Interbank Offered Rate (LIBOR) | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Basis spread on variable rate | | | 1.375% | | | | | | | | | | |
Letter of Credit | Utah Solar Portfolio, due 2022 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Letters of credit outstanding | | | | | | 13,000,000 | | | | | | | |
Letter of Credit | Viento Funding II, Inc., due in 2023 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Letters of credit outstanding | | | | | | 14,000,000 | | | | | | | |
Letter of Credit | Walnut Creek Energy, LLC, due in 2023 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Letters of credit outstanding | | | | | | 74,000,000 | | | | | | | |
Letter of Credit | Other Debt | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Letters of credit outstanding | | | | | | $ 24,000,000 | | | | | | | |
Minimum | Alpine Financing Agreement, due 2022 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Basis spread on variable rate | | | | | | 2.00% | | | | | | | |
Minimum | Alta Wind I-V, lease financing arrangement, due 2034 and 2035 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Interest rate, percentage | | | | | | 5.696% | | | | | | | |
Minimum | Carlsbad Energy Holdings LLC, due 2027 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Basis spread on variable rate | | | | | | 1.625% | | | | | | | |
Minimum | CVSR Financing Agreement | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Interest rate, percentage | | | | | | 2.339% | | | | | | | |
Minimum | El Segundo Energy Center, due 2023 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Description of variable rate basis | | | | | | 3-Month LIBOR | | | | | | | |
Basis spread on variable rate | | | | | | 1.75% | | | | | | | |
Maximum | Alta Wind I-V, lease financing arrangement, due 2034 and 2035 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Interest rate, percentage | | | | | | 7.015% | | | | | | | |
Maximum | Carlsbad Energy Holdings LLC, due 2027 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Basis spread on variable rate | | | | | | 4.12% | | | | | | | |
Maximum | CVSR Financing Agreement | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Interest rate, percentage | | | | | | 3.775% | | | | | | | |
Maximum | El Segundo Energy Center, due 2023 | | | | | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | | | | | |
Description of variable rate basis | | | | | | 3-Month LIBOR | | | | | | | |
Basis spread on variable rate | | | | | | 2.375% | | | | | | | |