To declare which of my connections to my XMPP server has the ‘most important’ and ‘most chattable’ status, I use XMPP’s 
Basics of XMPP connections
XMPP connection is actually two streams of XML, one going from the client to the server, and the other from the server to the client. (If your client exposes a feature typically called “XML Console”, use it to see the traffic.) Each XMPP connection has a “resource” string attached to it (and generally requested by the client — though the server can opt to override it). Typically, clients will set it to a random string, to the client name, or to the hostname. Together with your account name (“Jabber ID”), resource forms a globally-unique way to reach you in the XMPP network; for example: username@example.net/GajimAtWork.
Basics of XMPP presences
Each XMPP connection’s status text and status type are declared using a 
away This is my status 20 
The 
How priority is used
The 
Servers will deliver 
| Resource | Status | Priority | 
|---|---|---|
| GajimAtWork | online | 15 | 
| PidginAtWork | online | 15 | 
| OldPhone | online | 14 | 
| NewPhone | online | 14 | 
| GajimAtHome | away | 2 | 
| Tablet | away | 1 | 
| Webmail | online | 1 | 
you will receive the message to GajimAtWork and PidginAtWork. (Specifics of this may be overridden by the server, especially if some XEP2 such as ‘carbon copies’ is in use.) See more information in RFC3921, section 11.1 which discusses how the server should handle incoming stanzas (incl. those directed at bare JID).
And let’s say you absolutely don’t want to be disturbed to a certain device, unless this device is directly contacted (by specifying full JID). In that case, specifying a negative priority (say, -1) is handy, which tells the server not to deliver the message at all, even if it’s the top priority. You can still initiate outgoing chats; receiving a message commonly makes the client switch to sending to a bare JID from which it was received.
How priority is useful
Many of the better clients let you associate a priority with a status type; that is, if you set your status type (dnd3, you can declare that your 
Combined with the fact that, all things equal, I would prefer to answer to incoming chats on my desktop, I began using the following setup in clients that support the aforementioned functionality:
| show | Usual name in UI | Device type | Priority | 
|---|---|---|---|
| chat | Free for chat | desktop | 50 | 
| none | Available | desktop | 30 | 
| dnd | Busy | desktop | 25 | 
| away | Away | desktop | 10 | 
| xa | Extended Away | desktop | 2 | 
For mobile, just decrease by one:
| show | Usual name in UI | Device type | Priority | 
|---|---|---|---|
| chat | Free for chat | mobile | 49 | 
| none | Available | mobile | 29 | 
| dnd | Busy | mobile | 24 | 
| away | Away | mobile | 9 | 
| xa | Extended Away | mobile | 1 | 
What happens if your client does not support 
Useful clients which don’t support setting 
Some say statuses and priority are not useful
Some say statuses and priority are not useful. I respect this opinion, but my personal experience with Hangouts where exactly this is the norm tells me otherwise. I’d rather automate declaring my status than have it disappear from my contacts’ feeds. “Locked my workstation? It’s 12:00-14:00? Probably at lunch.” and similar personalized heuristics. “I’ve been toying with my phone for more than 5 min? I am probably free for chat — but do tell the contacts that I am on my phone.”
That said, I do like and appreciate much of the modern experiences certain statusless client(s) have. There is something to be said for simply receiving messages where they should arrive and notify based on actual activity. I like the simplicity of it.
Then again, if I am at work, I probably don’t want to chat with you; how will non-personalized client know that I’m busy out of the box? Or even more importantly, how will it relay that to my contacts? Can I more simply teach my phone to shut up based on my personal daily routine?
shrug I think I can. Your mileage may vary.
- 
 specific JID, instead of server just broadcasting them. This can in turn be used as a mechanism
 to declare that you would like to subscribe to a particular user’s presences. But, this is a
 discussion on- XEP: XMPP Extension Protocol. ↩
- 
dndmaps to ‘busy` in UI. ↩