A tip from the book The Charisma Myth: when you notice someone on their phone, just pause what you were saying, the sudden silence usually brings people back. If you also look at them when pausing, it will be very clear what’s going on without you even saying a word
This works both during presentations and conversations