But it has been struggling to cope with a fall in energy prices since 2014 and a decision by Russia to end its purchases of gas from the country.