Very cool. It's a good idea to turn things off/slow them down when you don't need them. I just found someone who did something like this for android (you need a rooted phone though)
here. It switches to 2G (uses less battery) when the screen is off and turns 3G on when the screen is on.