Uses inorganic polyphosphate (polyP) as a donor to convert ADP to ATP. Can also convert GDP to GTP, with lower efficiency. [phosphate](n) + ATP = [phosphate](n+1) + ADP [phosphate](n) + GTP = [phosphate](n+1) + GDP Belongs to the polyphosphate kinase 2 (PPK2) family. Class I subfamily.