title: Controlling the Application when the Power Button is pressed and returning to the App
body: <p>I have app that works perfectly fine on my Phone (desire HD). When I press the power button and return to the app the data has not been reset.</p>
  
  <p>A user has sent me a request that when they click the power button (dell streak) and return to the app the data that is being collected is reset.</p>
  
  <p>I am already saving data away in an object if the back button is pressed</p>
  
  <p>How do you go about finding out when the power is pressed to keep the data and what I need call when the user returns to the app</p>
  
  <p>Thanks for your time</p>