Test after each of the following steps that you haven’t already tried:
Step 1
Take all the applicable steps suggested in this support article. That's the starting point for any further effort to solve the problem. Skipping any of those steps may mean that the problem won't be solved.
Note that, as stated in the article, the computer will not sleep if some sharing services are enabled. From the menu bar, select
▹ System Preferences... ▹ Sharing
Turn off all sharing services.
Step 2
Select
▹ System Preferences... ▹ Accessibility ▹ Speakable Items: Off
Step 3
Select
▹ System Preferences... ▹ Bluetooth ▹ Advanced...
and uncheck both boxes marked
Open Bluetooth Setup Assistant at startup if...
Step 4
In the Printers & Scanners preference pane, delete any duplicate printers.