Apollo SleepMode

Change-Id: I074b10a26daf116da4d6d21d6d26724f4c5b04cc
Move some codes to avoid NPE

Change-Id: I5b605b4b77e8e25b1a2e475d0e16a24c47225f10