The country has endured persistent blackouts since June, with residents saying some have lasted as long as 48 hours.