Origin , which also owns power stations and 51 percent of Contact Energy Ltd , New Zealand 's largest energy company , has a 23 percent market share in the gas and electricity business in eastern Australia , closely trailing rival AGL Energy Ltd 's 26 percent .