Long-term Debt - Short and Long-term Borrowings (Details) - USD ($) | Dec. 23, 2019 | Jun. 14, 2019 | Apr. 29, 2019 | Dec. 31, 2020 | Dec. 31, 2019 | Dec. 06, 2019 | Nov. 13, 2019 | May 01, 2019 | May 31, 2018 |
Debt Instrument [Line Items] | | | | | | | | | |
Outstanding aggregate principal amount | | | | $ 7,043,000,000 | $ 6,858,000,000 | | | | |
Less current maturities | | | | (384,000,000) | (1,824,000,000) | | | | |
Less net debt issuance costs | | | | (79,000,000) | (78,000,000) | | | | |
Less discounts | | | | (5,000,000) | 0 | | | | |
Total long-term debt | | | | 6,585,000,000 | 4,956,000,000 | | | | |
Basis spread on variable rate | 1.375% | | | | | | | | |
3.25% Convertible Notes due 2020 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Senior Notes | | | | $ 0 | 45,000,000 | | | | |
Outstanding aggregate principal amount | | | | | 45,000,000 | | | | |
Interest rate, percentage | | | | 3.25% | | | | | |
5.375% Senior Notes due in 2024 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 0 | 88,000,000 | | | | |
Interest rate, percentage | | | | 5.375% | | | | | |
5.75% Senior Notes due 2025 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 600,000,000 | 600,000,000 | | | | |
Interest rate, percentage | | | | 5.75% | | | | | |
5.00% Senior Notes due in 2026 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 350,000,000 | 350,000,000 | | | | |
Interest rate, percentage | | | | 5.00% | | | | | |
4.75% Senior Notes due 2028 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 850,000,000 | 600,000,000 | | | | |
Interest rate, percentage | | | | 4.75% | | | | | |
Revolving Credit Facility | London Interbank Offered Rate (LIBOR) | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | | 1.50% | | | | | |
Alpine Financing Agreement, due 2022 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 0 | 119,000,000 | | | | |
Alpine Financing Agreement, due 2022 | London Interbank Offered Rate (LIBOR) | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | | 2.00% | | | | | |
Alta Wind I-V, lease financing arrangement, due 2034 and 2035 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 800,000,000 | 844,000,000 | | | | |
Buckthorn Solar, due 2025 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | | | | $ 132,000,000 |
Long-term debt | | | | $ 126,000,000 | 129,000,000 | | | | |
Buckthorn Solar, due 2025 | London Interbank Offered Rate (LIBOR) | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | | 1.75% | | | | | |
Carlsbad Holdco, due 2038 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 210,000,000 | 216,000,000 | | | | |
Interest rate, percentage | | | | 4.21% | | | | | |
Carlsbad Energy Holdings LLC, due 2027 and 2038 | London Interbank Offered Rate (LIBOR) | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | | 1.625% | | | | | |
CVSR, due 2037 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 675,000,000 | 696,000,000 | | | | |
CVSR Holdco due 2037 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 176,000,000 | 182,000,000 | | | | |
Interest rate, percentage | | | | 4.68% | | | | | |
Duquesne Due 2059 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | | | $ 95,000,000 | |
Long-term debt | | | | $ 95,000,000 | 95,000,000 | | | | |
Interest rate, percentage | | | | 4.62% | | | | 4.62% | |
El Segundo Energy Center, due 2023 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 250,000,000 | 303,000,000 | | | | |
Energy Center Minneapolis Series D, E, F, G, H Notes | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | 327,000,000 | 328,000,000 | | | | |
Laredo Ridge Wind, LLC, due in 2028 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 78,000,000 | 84,000,000 | | | | |
Laredo Ridge Wind, LLC, due in 2028 | London Interbank Offered Rate (LIBOR) | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | | 2.125% | | | | | |
Kawailoa Solar Holdings LLC, due 2026 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 81,000,000 | 82,000,000 | | | | |
Kawailoa Solar Holdings LLC, due 2026 | London Interbank Offered Rate (LIBOR) | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | | 1.375% | | | | | |
Marsh Landing Term Loan Facility | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 146,000,000 | 206,000,000 | | | | |
Marsh Landing Term Loan Facility | London Interbank Offered Rate (LIBOR) | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | | 2.125% | | | | | |
NIMH Solar, due 2024 | London Interbank Offered Rate (LIBOR) | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | | 2.00% | | | | | |
Oahu Solar Holdings LLC, due 2026 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | | $ 90,000,000 | | |
Long-term debt | | | | $ 89,000,000 | 91,000,000 | | | | |
Oahu Solar Holdings LLC, due 2026 | London Interbank Offered Rate (LIBOR) | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | | 1.375% | | | | | |
Repowering Partnership Holdco LLC, due 2020 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 0 | 228,000,000 | | | | |
Repowering Partnership Holdco LLC, due 2020 | London Interbank Offered Rate (LIBOR) | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | | 0.0085% | | | | | |
South Trent Wind Due 2028 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Outstanding aggregate principal amount | | $ 46,000,000 | | | | | | | |
Basis spread on variable rate | | 1.35% | | | | | | | |
Tapestry Wind LLC due in 2031 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Outstanding aggregate principal amount | | | $ 164,000,000 | | | | | | |
Long-term debt | | | | $ 143,000,000 | 156,000,000 | | | | |
Basis spread on variable rate | | | 1.375% | | | | | | |
Tapestry Wind LLC due in 2031 | London Interbank Offered Rate (LIBOR) | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | | 1.375% | | | | | |
Utah Solar Holdings, due 2036 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 290,000,000 | 0 | | | | |
Interest rate, percentage | | | | 3.59% | | | | | |
Utah Solar Portfolio, due 2022 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 0 | 254,000,000 | | | | |
Utah Solar Portfolio, due 2022 | London Interbank Offered Rate (LIBOR) | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | | 1.625% | | | | | |
Walnut Creek Energy, LLC, due in 2023 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 126,000,000 | 175,000,000 | | | | |
Walnut Creek Energy, LLC, due in 2023 | London Interbank Offered Rate (LIBOR) | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | | 1.75% | | | | | |
Other Debt | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 199,000,000 | 264,000,000 | | | | |
Project Level Debt | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Outstanding aggregate principal amount | | | | 5,243,000,000 | 5,175,000,000 | | | | |
Blythe | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | | 14,000,000 | | | | |
Roadrunner | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | | 28,000,000 | | | | |
Carlsbad Energy Holdings LLC, due 2027 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Outstanding aggregate principal amount | | | | | | $ 194,000,000 | | | |
Alta Realty Investments, LLC due 2031 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 25,000,000 | 27,000,000 | | | | |
Interest rate, percentage | | | | 700.00% | | | | | |
Borrego, due 2034 and 2035 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 57,000,000 | 60,000,000 | | | | |
Carlsbad Energy Holdings, 2027 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | 156,000,000 | 175,000,000 | | | | |
Carlsbad Energy Holdings LLC, due 2038 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 407,000,000 | 407,000,000 | | | | |
Interest rate, percentage | | | | 412.00% | | | | | |
DG-CS Master Borrower LLC, 2040 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 467,000,000 | 0 | | | | |
Interest rate, percentage | | | | 3.51% | | | | | |
NIMH Solar, 2024 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 191,000,000 | 0 | | | | |
Rosie Class B LLC 2027 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 80,000,000 | 0 | | | | |
Rosie Class B LLC 2027 | London Interbank Offered Rate (LIBOR) | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | | 1.75% | | | | | |
WCEP Holdings, LLC due 2023 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 35,000,000 | 39,000,000 | | | | |
WCEP Holdings, LLC due 2023 | London Interbank Offered Rate (LIBOR) | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | | 3.00% | | | | | |
Alta Wind Asset Management LLC | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 14,000,000 | 15,000,000 | | | | |
Alta Wind Asset Management LLC | London Interbank Offered Rate (LIBOR) | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | | 2.50% | | | | | |
Letter of Credit | Revolving Credit Facility | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Long-term debt | | | | $ 0 | $ 0 | | | | |
Letters of credit outstanding | | | | 66,000,000 | | | | | |
Letter of Credit | Alpine Financing Agreement, due 2022 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Letters of credit outstanding | | | | 0 | | | | | |
Letter of Credit | Alta Wind I-V, lease financing arrangement, due 2034 and 2035 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Letters of credit outstanding | | | | 44,000,000 | | | | | |
Letter of Credit | Buckthorn Solar, due 2025 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Letters of credit outstanding | | | | 22,000,000 | | | | | |
Letter of Credit | Carlsbad Holdco, due 2038 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Letters of credit outstanding | | | | 4,000,000 | | | | | |
Letter of Credit | CVSR, due 2037 | | | | | | | | | |
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] | | | | | | | | | |
Letters of credit outstanding | | | | 0 | | | | | |
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 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Letters of credit outstanding | | | | 0 | | | | | |
Letter of Credit | Laredo Ridge Wind, LLC, due in 2028 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Letters of credit outstanding | | | | 10,000,000 | | | | | |
Letter of Credit | Kawailoa Solar Holdings LLC, due 2026 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Letters of credit outstanding | | | | 14,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 | | | | 10,000,000 | | | | | |
Letter of Credit | Repowering Partnership Holdco LLC, due 2020 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Letters of credit outstanding | | | | 0 | | | | | |
Letter of Credit | Tapestry Wind LLC due in 2031 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Letters of credit outstanding | | | | 17,000,000 | | | | | |
Letter of Credit | Utah Solar Holdings, due 2036 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Letters of credit outstanding | | | | 11,000,000 | | | | | |
Letter of Credit | Utah Solar Portfolio, due 2022 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Letters of credit outstanding | | | | 0 | | | | | |
Letter of Credit | Walnut Creek Energy, LLC, due in 2023 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Letters of credit outstanding | | | | 73,000,000 | | | | | |
Letter of Credit | Other Debt | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Letters of credit outstanding | | | | 50,000,000 | | | | | |
Letter of Credit | Alta Realty Investments, LLC due 2031 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Letters of credit outstanding | | | | 0 | | | | | |
Letter of Credit | Borrego, due 2034 and 2035 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Letters of credit outstanding | | | | 4,000,000 | | | | | |
Letter of Credit | Carlsbad Energy Holdings, 2027 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Letters of credit outstanding | | | | 63,000,000 | | | | | |
Letter of Credit | Carlsbad Energy Holdings LLC, due 2038 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Letters of credit outstanding | | | | 0 | | | | | |
Letter of Credit | DG-CS Master Borrower LLC, 2040 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Letters of credit outstanding | | | | 30,000,000 | | | | | |
Letter of Credit | NIMH Solar, 2024 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Letters of credit outstanding | | | | 11,000,000 | | | | | |
Letter of Credit | Rosie Class B LLC 2027 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Letters of credit outstanding | | | | 19,000,000 | | | | | |
Letter of Credit | WCEP Holdings, LLC due 2023 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Letters of credit outstanding | | | | 0 | | | | | |
Letter of Credit | Alta Wind Asset Management LLC | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Letters of credit outstanding | | | | $ 0 | | | | | |
Minimum | Alta Wind I-V, lease financing arrangement, due 2034 and 2035 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Interest rate, percentage | | | | 7.015% | | | | | |
Minimum | CVSR, due 2037 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | | 3.775% | | | | | |
Minimum | El Segundo Energy Center, due 2023 | London Interbank Offered Rate (LIBOR) | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | | 1.875% | | | | | |
Maximum | Alta Wind I-V, lease financing arrangement, due 2034 and 2035 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Interest rate, percentage | | | | 5.696% | | | | | |
Maximum | CVSR, due 2037 | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | | 2.339% | | | | | |
Maximum | El Segundo Energy Center, due 2023 | London Interbank Offered Rate (LIBOR) | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | | 2.50% | | | | | |