diff --git a/src/common/sleepy.py b/src/common/sleepy.py
index 54582a94175f051fb64c5c868079e25316eb90d2..89b9403ff591fdf8ac930d7595ecd8d2193b6a19 100644
--- a/src/common/sleepy.py
+++ b/src/common/sleepy.py
@@ -48,10 +48,13 @@ class Sleepy:
 			self.state = STATE_UNKNOWN
 
 	def poll(self):
+		'''checks to see if we should change state'''
 		if not SUPPORTED:
 			return False
 
 		idleTime = idle.getIdleSec()
+		
+		# xa is stronger than away so check for xa first
 		if idleTime > self.xa_interval:
 			self.state = STATE_XA
 		elif idleTime > self.away_interval: