When using Pandora in iOS 4 to play music in the background, or any background music app for that matter, you can set the sleep timer to stop the music after a specified period. Great if you want to fall asleep to music or keep your data usage from continuing throughout the night.