Required for cell division and growth. It catalyzes the phosphorylation of CtrA and activates transcription in vitro of the cell cycle-regulated fliF promoter. ATP + protein L-histidine = ADP + protein N-phospho-L-histidine. Autophosphorylated.