[Nexus One Android Development] disq:
This is the error in system log when I disable the BT after the bt-connection is ended (but when the phone still thinks it's connected)

D/BluetoothAdapterStateMachine( 409): Switching process message: 105
D/BluetoothAdapterStateMachine( 409): Bluetooth state 13 -> 10
E/BluetoothAdapterStateMachine( 409): Devices failed to power down, reseting...
D/BluetoothAdapterStateMachine( 409): HotOff process message: 102
E/BluetoothService.cpp( 409): setBluetoothTetheringNative false
W/dalvikvm( 409): threadid=39: thread exiting with uncaught exception (group=0x41fb1300)
E/AndroidRuntime( 409): *** FATAL EXCEPTION IN SYSTEM PROCESS: BT EventLoop
E/AndroidRuntime( 409): java.lang.UnsatisfiedLinkError: Native method not found: android.server.BluetoothA2dpService.sendMetaDataNative:(Ljava/lang/String;)Z
E/AndroidRuntime( 409):	at android.server.BluetoothA2dpService.sendMetaDataNative(Native Method)
E/AndroidRuntime( 409):	at android.server.BluetoothA2dpService.sendMetaData(BluetoothA2dpService.java:405)
E/AndroidRuntime( 409):	at android.server.BluetoothA2dpService.handleSinkStateChange(BluetoothA2dpService.java:914)
E/AndroidRuntime( 409):	at android.server.BluetoothA2dpService.onSinkPropertyChanged(BluetoothA2dpService.java:878)
E/AndroidRuntime( 409):	at dalvik.system.NativeStart.run(Native Method)
E/AndroidRuntime( 409):	at dalvik.system.NativeStart.run(Native Method)
I/Process ( 409): Sending signal. PID: 409 SIG: 9
I/ServiceManager( 234): service 'throttle' died
I/ServiceManager( 234): service 'updatelock' died
I/ServiceManager( 234): service 'netpolicy' died
I/ServiceManager( 234): service 'network_management' died
I/ServiceManager( 234): service 'netstats' died
I/ServiceManager( 234): service 'serial' died
I/ServiceManager( 234): service 'vibrator' died
I/ServiceManager( 234): service 'battery' died
I/ServiceManager( 234): service 'textservices' died
I/ServiceManager( 234): service 'hardware' died
I/ServiceManager( 234): service 'power' died
I/ServiceManager( 234): service 'lock_settings' died
I/ServiceManager( 234): service 'input_method' died
I/ServiceManager( 234): service 'dbinfo' died
I/ServiceManager( 234): service 'bluetooth' died
I/ServiceManager( 234): service 'clipboard' died
I/ServiceManager( 234): service 'wifip2p' died
I/ServiceManager( 234): service 'meminfo' died
I/ServiceManager( 234): service 'mount' died
I/ServiceManager( 234): service 'content' died
I/ServiceManager( 234): service 'wallpaper' died
I/ServiceManager( 234): service 'location' died
I/ServiceManager( 234): service 'usb' died
I/ServiceManager( 234): service 'alarm' died
I/ServiceManager( 234): service 'window' died
I/ServiceManager( 234): service 'input' died
I/ServiceManager( 234): service 'notification' died
I/ServiceManager( 234): service 'batteryinfo' died
I/ServiceManager( 234): service 'profile' died
I/ServiceManager( 234): service 'accessibility' died
I/ServiceManager( 234): service 'device_policy' died
I/ServiceManager( 234): service 'scheduling_policy' died
I/ServiceManager( 234): service 'wifi' died
I/ServiceManager( 234): service 'dropbox' died
I/ServiceManager( 234): service 'country_detector' died
I/ServiceManager( 234): service 'connectivity' died
I/ServiceManager( 234): service 'servicediscovery' died
I/ServiceManager( 234): service 'uimode' died
I/ServiceManager( 234): service 'statusbar' died
I/ServiceManager( 234): service 'entropy' died
I/ServiceManager( 234): service 'package' died
I/ServiceManager( 234): service 'usagestats' died
I/ServiceManager( 234): service 'activity' died
I/ServiceManager( 234): service 'gfxinfo' died
I/ServiceManager( 234): service 'sensorservice' died
I/ServiceManager( 234): service 'samplingprofiler' died
I/ServiceManager( 234): service 'appwidget' died
I/ServiceManager( 234): service 'diskstats' died
I/ServiceManager( 234): service 'audio' died
I/ServiceManager( 234): service 'bluetooth_a2dp' died
I/ServiceManager( 234): service 'commontime_management' died
I/ServiceManager( 234): service 'telephony.registry' died
I/ServiceManager( 234): service 'permission' died
I/ServiceManager( 234): service 'cpuinfo' died
I/ServiceManager( 234): service 'search' died
I/ServiceManager( 234): service 'devicestoragemonitor' died
I/ServiceManager( 234): service 'backup' died
I/ServiceManager( 234): service 'account' died
I/ServiceManager( 234): service 'assetredirection' died
W/AudioFlinger( 242): power manager service died !!!
W/Sensors (12822): sensorservice died [0x51611240]
W/Sensors ( 629): sensorservice died [0x52638f00]
W/AudioFlinger( 242): power manager service died !!!
E/BluetoothAdapter(14814):
E/BluetoothAdapter(14814): android.os.DeadObjectException
E/BluetoothAdapter(14814):	at android.os.BinderProxy.transact(Native Method)
E/BluetoothAdapter(14814):	at android.bluetooth.IBluetooth$Stub$Proxy.getBluetoothState(IBluetooth.java:959)
E/BluetoothAdapter(14814):	at android.bluetooth.BluetoothAdapter.getState(BluetoothAdapter.java:454)
E/BluetoothAdapter(14814):	at com.android.bluetooth.pbap.BluetoothPbapService.onCreate(BluetoothPbapService.java:202)
E/BluetoothAdapter(14814):	at android.app.ActivityThread.handleCreateService(ActivityThread.java:2494)
E/BluetoothAdapter(14814):	at android.app.ActivityThread.access$1600(ActivityThread.java:144)
E/BluetoothAdapter(14814):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1292)
E/BluetoothAdapter(14814):	at android.os.Handler.dispatchMessage(Handler.java:99)
E/BluetoothAdapter(14814):	at android.os.Looper.loop(Looper.java:137)
E/BluetoothAdapter(14814):	at android.app.ActivityThread.main(ActivityThread.java:4936)
E/BluetoothAdapter(14814):	at java.lang.reflect.Method.invokeNative(Native Method)
E/BluetoothAdapter(14814):	at java.lang.reflect.Method.invoke(Method.java:511)
E/BluetoothAdapter(14814):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/BluetoothAdapter(14814):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:558)
E/BluetoothAdapter(14814):	at dalvik.system.NativeStart.main(Native Method)
E/BufferQueue( 239): [com.google.android.googlequicksearchbox/com.google.android.googlequicksearchbox.SearchActivity] dequeueBuffer: SurfaceTexture has been abandoned!

Hope it helps.