Ukraine heads into winter with a hobbled energy system