Folks,

With Bluez stack running on my phone, and a PC dongle (supporting HFP/
A2DP), i am seeing a problem. Bluetooth SOC on the phone is not going
in Sniff mode, as a result the power drained is very high. This is
only when a PC dongle is bonded to the phone. If a A2DP headset is
bonded, it enters in sniff mode properly.

I also saw that the sniff idle timeout interval in case of dongle is
seen to be 0. Because of which hci_conn_enter_active_mode() is not
seting the idle timer, as a result hci_conn_enter_sniff_mode() is
never executed, and the device never goes in sniff.

The idle timeout is initialized here -
In kernel/net/bluetooth/hci_core.c, i see
hdev->idle_timeout = 0;

But this is not the correct place to modify the timeout, as it affects
all devices ...dongles, headsets..etc.

Does any body know how to set the sniff idle timeout correctly..?

Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to