Fix bluetooth sleep bug