Install sleepwatcher and blueutil using brew, add these two files:
~/.sleep
#!/bin/sh
networksetup -setairportpower en0 off 2>&1 | tee /tmp/sleep_logs
/run/current-system/sw/bin/blueutil -p off 2>&1 | tee /tmp/sleep_logs
~/.wakeup #!/bin/sh
networksetup -setairportpower en0 on 2>&1 | tee /tmp/sleep_logs
/run/current-system/sw/bin/blueutil -p on 2>&1 | tee /tmp/sleep_logs