what is the meaning of circles near allied portraits in LoL
These are the ultimate indicators! If they are full and green, it means that character's ultimate is ready to be used.
As far as I know, there is no in-game way to determine if your allies have disconnected or not.