What is the meaning of [on the ball]

John is on the ball (competent, alert). I think we can leave the office under his supervision for a few days.