A condition that times how long the screen has been off
I want to set up a situation that would turn off the wifi after the screen has been timed-out for a period of time. It would really help with battery life. Even better would be able to switch 3g to 2g only, but that's another suggestion.
Android will power down Wi-Fi automatically while the display is off and that phone is sleeping. There is no need to implement this in Locale, as it is already handled by Android. Adding this feature to Locale would not improve battery life.
If you are judging Wi-Fi power usage from the Android battery usage statistics screen, please note that we have found that information is inaccurate due to bugs in Android.
There is already a Display condition on the Developer page of our website, however it must be compiled from the source. We haven’t compiled and released it on the Market for this reason: turning services off based on the screen really won’t make a difference because Android already does that power management.