To set Google Talk to change your status

  1. From the Friends list, tap the Menu Key > Settings.

  2. Checkmark Away when screen off (or remove the checkmark).

    When Away when screen off is checkmarked, your status will automatically be changed to Away when the screen is turned off.