Presence mode determination