Enable bluetooth on resume

Restarting bluetooth on resume

sudo touch /etc/pm/sleep.d/60bluetooth
sudo chmod +x /etc/pm/sleep.d/60bluetooth
sudo vi /etc/pm/sleep.d/60_bluetooth
#!/bin/bash
#Code from http://ubuntuforums.org/showthread.php?t=1387211
. /usr/lib/pm-utils/functions
case "$1" in
hibernate|suspend)
rfkill block bluetooth
;;
thaw|resume)
rfkill unblock bluetooth
;;
*)
;;
esac
exit

References

[SOLVED! Bluetooth doesn’t work after resume from sleep/standby|http://ubuntuforums.org/showthread.php?t=1387211]