During viral pneumonia, we found that AMPK sustains metabolic homeostasis and mitochondrial activity. Here, PRKAA2 is linked to viral pneumonia.