Bluesleep implementation