Several users have reported poor battery life after the update to iOS 4.0.1, on both iPhone and iPod touch models.
Disable/check location services. Overactive location services usage can result in poor battery life. Specifically, apps that use location services in the background can quickly drain the battery.
To check location services usage on an app-by-app basis, navigate to Settings > General > Location Services. Turn location services off for all applications, then turn them back on for desired apps one by one or in groups. Via this procedure, you can identify which app’s use of location services is draining battery. Alternatively, you can temporarily turn off location services altogether and check for increased battery life.
Check Internet tethering. Some reports indicate that the iPhone may be persistently attempting to establish a tethering connection, thereby draining the battery. Navigate to Settings > General > Network and tap Internet Tethering, then tap “cancel” if you it is trying to connect, or turn off tethering altogether. You may need to turn Wi-Fi off then back on to stop the tethering connection attempts.
Bad apps to blame? Anecdotal evidence suggests that apps incompatible with iOS 4.0 or otherwise problematic under the new release can cause battery drain issues. Backup your iPhone in iTunes, then delete apps from the device in groups (you can always sync them back from iTunes later). After each group, restart your iPhone and check for the battery drain problem. Via this method, you can isolate the problematic app and remove it permanently.
Also, make sure all apps are up to date; developers have released a flurry of iOS 4.0-compatible app editions in the past few days.
Turn off Push. Navigate to Settings > Mail, Contacts, Calendars and tap “Fetch New Data.” Turn off Push.
Calibrate the battery. Fully charge your iPhone, then allow it to drain until completely empty (device powers off on its own and displays a spinning progress indicator). Then recharge your phone and check for excessive battery drain.
Close open Safari windows. One iOS application that consumes memory and processor time (and therefore battery life) in the background is Safari. Close all unused windows in the application by pressing the page switch button in the lower right portion of the screen then clicking the X at the top left of each page. See this page for screenshots.
Restore, but not from a backup (use as a last resort). As is the case with some other iOS 4.0 problems, one less-than-ideal fix for the battery drain issue involves restoring the iPhone as a new device rather than from a backup. It appears that bad holdover data from iPhone backups can cause excessive battery use. Restoring as a new phone will delete contacts and other data, but may resolve this problem.
To do so, connect your iPhone or iPod touch to your computer, click “Restore” in iTunes, then choose “setup as new phone.”