troubleshoot bluetooth ubuntu code example Example: restart bluetooth ubuntu sudo service bluetooth restart