Using Tasker, IFTTT and a Wemo switch, you can easily create a profile to automatically turn off a Wemo switch when leaving your phone charging overnight. You can also have another profile to enable and disable this profile using AutoVoice.
Update: The Maker channel is now called Webhooks