Better batteries and more investment into the main electricity grid have helped delay a predicted natural gas shortage in Australia by a year.