Could someone please write a patch that would switch wifi off when the pre goes into sleep mode.

Since 1.3.5, wifi is left on when the pre is in sleep mode with a resultant drain on battery life.

A toogle to switch this feature on an off would be an extra bonus.

Thanks in advance