We study the quasinormal modes (QNM) of the charged C-metric, which physically stands for a charged accelerating black hole, with the help of Nekrasov’s partition function of 4d N\\documentclass[12pt]{minimal} \\usepackage{amsmath} \\usepackage{wasysym} \\usepackage{amsfonts} \\usepackage{amssymb} \\usepackage{amsbsy} \\usepackage{mathrsfs} \\usepackage{upgreek} \\setlength{\\oddsidemargin}{-69pt} \\begin{document}$$ \\mathcal{N} $$\\end{document} = 2 superconformal field theories (SCFTs). The QNM in the charged C-metric are classified into three types: the photon-surface modes, the accelerating modes and the near-extremal modes, and it is curious how the single quantization condition proposed in [1] can reproduce all the different families. We show that the connection formula encoded in terms of Nekrasov’s partition function captures all these families of QNM numerically and recovers the asymptotic behavior of the accelerating and the near-extremal modes analytically. Using the connection formulae of different 4d N\\documentclass[12pt]{minimal} \\usepackage{amsmath} \\usepackage{wasysym} \\usepackage{amsfonts} \\usepackage{amssymb} \\usepackage{amsbsy} \\usepackage{mathrsfs} \\usepackage{upgreek} \\setlength{\\oddsidemargin}{-69pt} \\begin{document}$$ \\mathcal{N} $$\\end{document} = 2 SCFTs, one can solve both the radial and the angular parts of the scalar perturbation equation respectively. The same algorithm can be applied to the de Sitter (dS) black holes to calculate both the dS modes and the photon-sphere modes.