(Adds details on import needs, supplies) JAKARTA, Aug 9 (Reuters) - Indonesia's state oil firm PT Pertamina will try to restart its 125,000 barrel-per-day Balongan refinery in West Java after shutting it down earlier on Thursday when a strong earthquake affected its power supply. A company official said Pertamina had no immediate plans to import additional gasoline thanks to sufficient domestic stocks. Balongan is a key refinery for Pertamina, supplying oil products to the densely populated West Java island, including Jakarta. "The refinery has been affected by the quake and we decided to shut it. We will try to restart it today," Pertamina's processing director Suroso Atmomartoyo told reporters. Pertamina's President Director Ari Sumarno said it shut the refinery after its power plant was affected by the earthquake, adding the firm "did not want to take any risks". With domestic oil inventories sufficient to meet domestic demand for 21-22 days, in line with Pertamina's target level, the company does not plan to issue tenders for additional fuel at the moment, Deputy Director Hanung Budya told Reuters. Indonesia is Asia's largest importer of gasoline and diesel as its aging domestic refineries are only able to meet about two-thirds of demand. A powerful earthquake struck a coastal area in Indonesia's West Java on Thursday, sparking panic in many parts of the island, although there were no immediate reports of damage or casualties. However, the quake was too deep to trigger a tsunami, an official at the United States National Weather Service's Pacific Tsunami Warning Centre. The quake with a magnitude of 7.5, according to the U.S. Geological Survey, struck just after midnight and could be felt by residents in the capital Jakarta, as well as in the nearby city of Bandung and in the town Yogyakarta in central Java. The U.S. agency had initially put the magnitude at 7.4. Indonesia suffers frequent earthquakes, lying on an active seismic belt on part of the so-called "Pacific Ring of Fire".