changed a lot fo code and added tegra bluesleep