title: How to adjust the time length for getting into a deep sleep
body: <p>I am not sure if I had understood it correctly.. but it seems that android has a sleep mode 
  where everything is paused except the background services and a deep sleep mode that turns off
  everything even the CPU.</p>
  
  <p>So I wonder if there is there a way to control the time before getting into a deep sleep mode. Couldn't find any official documentation about the sleep modes.. Any help is appreciated!</p>
  
  <p>Thanks</p>