iPhone 4.0 OS: event based modes, intellingent and scheduled communications » Unwired View
One such patent application, called “Event-based modes for electronic devices” describes how your iPhone 4.0 device could be able to automatically adapt to different locations and life events.