Save battery by having this minimal application automatically turn off your wifi/wlan when there is no network available. WIFI Power Saver itself only runs when your wifi/wlan state changes so it does hardly use any battery at all.
https://market.android.com/details?id=com.droidplant.wifipowersaver