bluetooth: Check if Powered property is set in Init

This change checks the bluetooth adapter Powered property and fails the Init
function if the check fails. This will force a reboot of the Raspberry and
help reset the bluetooth adapter.

TEST=Tested by forceing init to return False

Change-Id: Ice44263b979a600524cd33d0bde9fc88b7329ead
Reviewed-by: Daniel Winkler <>
Reviewed-by: Shyh-In Hwang <>
Commit-Queue: Shijin Abraham <>
Tested-by: Shijin Abraham <>
1 file changed