Delayed Sleep and Wake on new iMac

Since I got my new iMac about 4 months ago, if I selected "sleep" from the menu, it would sleep immediately. Lately, when I select "sleep" it takes 15-20 seconds before it goes to sleep. Then, this morning, when I tried to wake it up, it took another 15-20 seconds to do so when, in the past, it would wake up immediately also.
Any help as to what's going on?
Thanks.

I don't think there is a shell solution to make a machine sleep, so you have to resort to Applescript.
Worth a try to log in with ssh and run a script like this:
osascript -e 'tell application "System Events" to sleep'
If that doesn't work, try the "eppc" protocol:
tell application "finder" of machine ("eppc://" & otherMachine & ".local") to sleep
I have the above statement wrapped in a pinger to report if the machine is online.
  Mac OS X (10.4.7)  

Similar Messages

  • Why won't the sleep and wake button work

    the sleep and wake button has stopped working.

    If you have Warranty or AppleCare make Genius reservation and take to Apple for resolution. If you would like to try perfect Virtual Button, tap Settings App > General > Accessibility > Assistive Touch > ON > tap new white screen button > Device > Lock. You can even turn iPhone OFF with this button. To turn iPhone ON, connect iPhone to power ie charger or USB of computer.

  • ITunes can't connect to Apple TV sometimes after sleep and wake up

    Hi!
    There are any issues to find in the discussions depending on problems between the ATV and iTunes but no solution helps me to solve the following problem till now.
    I am using a Mac mini (middle 2011) as a central storage for multimedia data. The exact description of the network can you find further down.
    The problem is that iTunes sometimes can't connect to the Apple Tv via Airplay. There is a window open what tells me that iTunes try to connect to ATV. But it doesn't work.
    After determine iTunes completely (normal closing doesn't work because of that open window) and restart it, it will work probably.
    Itunes is connecting to ATV via Airplay immediately.
    Sometimes it works for any days with a view sleep and wake up procedures. Sometimes the problem appears while I'm listen to music after any minutes of starting.
    I send the mini and the ATV to sleep with the remote of the ATV or let it go to sleep alone. To wake up ATV and mini I push a button on the remote.
    Following components are working in my network:
    - router FritzBox 7390 from AVM (2,4 and 5 GhZ at the same time)
    - Mac mini (middle 2011) connected via Wlan
    - two Airport Express with connected loudspeakers in various rooms (Wlan)
    - Apple TV (third generation) connected with home cinema via HDMI and with the network via Wlan
    - Telekom entertain setbox for TV connected via LAN over Wlan bridge
    I have tried to use the whole system with an Airport Extrem as router for wlan but the problem was the same.
    I suppose it could be a problem with DHCP Lease or the Bonjour? What can I do?
    Last but not least...the devices have installed the newest firmware or software versions.
    Thanks a lot for support!
    Norman

    i bit the bullet and re-associated library on ATV. On atv, setting/computers; current library was grayed out, clicking creates a warning that all media on ATV will be lost, it takes its time to earase the disk, then an option to connect to itunes becomes available just like fresh setup. ATV produced a code to enter into itunes. itunes complained that it cannot communicate on port 3689; googleupdate.exe was using this port; disabled googleupdate; rebooted everything for good measure. so now i'm waiting for 100GB of home movies and music to sync to ATV (thanks apple!). one thing that got me stumbled - when ATV showed up, there were not tabs for music, movies, podcast, etc, only settings and photos; solution: deselect 'automatic sync' by selecting 'custom sync' in the settings tab.

  • I was playing songs on Itunes while charging then my iphone 3 suddenly turned off. I pressed sleep and wake botton for 10 mins but no logo appeared.What happened?

    I was playing songs on Itunes while charging my iphone 3 then suddenly turned off. I pressed sleep and wake botton for 10 mins but no logo appeared.What happened?

    Sorry, but if you see the "connect to iTunes" screen on your phone, the only option is to restore, backing up the phone is not possible at this point, even importing the photos might not work anymore.
    Import photos and videos from your iPhone, iPad, or iPod touch to your Mac or Windows PC - Apple Support

  • Attempts at installing Lightroom and Cs5 on new iMac

    I just purchased and received a new iMac.  I have used one for a few years and had purchased Lightroom 3 and Cs5 for it.  Now that I have a new computer, I would like to use both programs with it.  But when I insert the cd's to install, nothing happens.  Usually, an installation window appears to step me through the process.  I tried a Mac software (iWork) that I had used with my other computer and did not have any problems so it's not the computer.  I am hoping that I can use these two programs with the new computer, especially since I have several hundred dollars invested in both.  Can anyone tell me how to solve this issue?  Thanks!

    Does your DVD for the installation of the Adobe software works on the Different computer ?
    We need what exactly happen when you insert the DVD in your iMac, does it eject out , stays there but you can hear it reading.

  • My online purchase of IMac is scheduled for delivery to apple store for pickup tomorrow .  Do I need an appt . on the day of pick up to bring in my old desk top computer to transfer and set up new IMac?

    My online purchase of new 21.5 IMac is scheduled for delivery to apple store for pickup tomorrow .  I have purchased Apple one to one care. Do I need to schedule an appointment with apple genius on the day of pick up to bring in my old desk top computer to transfer and set up new IMac?

    Usually I would think so.   
    Note, if your old Mac or any of your old applications are pre-2006, see this tip.
    https://discussions.apple.com/docs/DOC-2295
    Otherwise the transfer may not be as smooth as you desire.

  • TS3274 the sleep and wake button can not work

    Now my sleep and wake button can not work. When I press it either long press or short press. no response at all.
    , then I long press the home button to restart the ipad. It appears the apple logo, but after a while, the screen just a flash, and then restart again, and the apple logo appears again. It never restart properly until I plug in the USB cable with it to connect it with PC.
    What is wrong with my iPad, pls help, much appreciated!
    -Will

    I can't understand you.
    1. What sleep/wake button are u talking about? You mean the power button? Sleep/wake is a function, not a button, which works for covers that supports it.
    2.You press home button to RESTART ipad?? what home button? the one at the bottom of the screen or at the top?

  • I purchased 2 weeks before i phone 5 but there is problem with sleep and wake up button its not responding can anyone help me in this issue.

    i purchased 2 weeks before i phone 5 but there is problem with sleep and wake up button its not responding can anyone help me in this issue.

    You have a one-year hardware warranty & 90 days of free phone support. Take advantage of it, make an appointment at an Apple store or call AppleCare.

  • Hi guys yesterday i had my house robbed and they took my iMac which i purchased in 2011. so i went out and purchased a new iMac today but im having problems transfering all my music from my iPhone 5 to it. Any suggestions???

    Hi guys yesterday i had my house robbed and they took my iMac which i purchased in 2011. so i went out and purchased a new iMac today but im having problems transfering all my music from my iPhone 5 to it. Any suggestions???

    iTunes Store- Transferring purchases from your iOS device or iPod to a computer.http://support.apple.com/kb/ht1848
    Or you can use a third-party utility such as Phone to Mac - Pod to Mac.

  • Ok, so i bought a imac 27 about 4 months ago, and now they release a new one!  ****... So my question is, should I sell this one (which by the way is the i5 2.8 with 1 gb 5750 and 4gb ram) and buy the new imac 27 i5,or keep the one i have and buy more ram

    ok, so i bought a imac 27 about 4 months ago, and now they release a new one!  ****... So my question is, should I sell this one (which by the way is the i5 2.8 with 1 gb 5750 and 4gb ram) and buy the new imac 27 i5,or keep the one i have and buy more ram. I mostly use my computer for photoshop cs5 and illustrator cs5 for graphics out put as well as surfing the web and music.
         Please give me you thoughts on what I should do!!  Thanks  lot!

    The new iMac is about 25% or so faster than your current iMac(comparable model would be the 3.1ghz version). There are a couple of things that you will benefit from such as the dual Thunderbolt/Mini Display ports/ which may help with multitasking. The video card in the new iMac again the comparable model being the 3.1ghz is a lotttttttt better than the current one that you have. So thinking of the long run those few things may be beneficial for you to upgrade(but it depends on what is important to you).
    I had the 2.93ghz i7 version that I just bought in March this year and I turned around and sold it about a week before the new iMac's were announced. I got about $1600 for it, yeah I took a loss but to me it was worth it because my new iMac performs that much better. Now keep in mind I went from i7 to i7...3.4ghz i7 with the 2gb video card. Now I have dual thuderbolt/mini display ports. I have noticed significant gains in my video editing and also in my gaming. So to me it was definitely worth the upgrade!
    One last thing, I would not have sold my 2.93 i7 and then bought the 3.1ghz i5, the big reason is because HT(hyper threading), it's only on the i7 model(3.4ghz)... If you take a look at some of the bench marks on engadget, maclife, macrumors, macworld, ****Barefeats.com(they really get into benchmarking)*** you will see charts that will help you make a better decision.
    In closing I would say look into it, if you can get a good price out of your current iMac to put toward a new iMac then do it. Like others have mentioned to you, tech changes and Apple will change the tech in these machines next year or do a speed bump later this year or so. One last thing if you go from the 2.8 i5 up to the 3.4 i7, you would definitely see the difference (HT is a must especially for programs that utilize it. You can go to my youtube channel(mob1278) and take a look at my geekbench results.... my 2.93 i7 scored around 10500-11000(8gb ram)...my 3.4 i7 scores from 12700-13000 with 4gb ram....so yeah as you can see big difference. Basically the 3.4 i7 would perform similar or just under a 2.4ghz 8core 2010 Mac Pro which runs you about $3500 with no monitor.... it's your money spend it how you want....and Lion is only going to push it even more when it is released!

  • Interesting Sleep and Wake problem

    For about a month I have found that the Macbook pro (2008) Osx10.7 doesn't seem to sleep when the cover closed with the power cord attached. The sleep light doesn't pulsate and it remains warm. When i open it up the log in screen flashes on, then the screen goes dark and I can't log in. I found myself doing forced restarts - then i disconnected the power cord and the log in screen magically reappeared.
    It seems I need to disconnect the power cord wehn closing the lid, and if I forget to do that I need to disconnect when reopening the lid in order to log in.
    I have tried resetting all the power settings to default, but it still does that.
    Not a major problem, but puzzling.

    The problem isn't so much that it won't sleep or wake. It does seem to do both more or less, but that if the power cord is connected it doesn't fully sleep (the LED doesn't blink) and that waking results in the login screen flashing on momentarily followed by a black screen which requires either a forced reboot or simply unplugging the power cord. Once the power cord is unplugged then logging in is easy as the screen recovers.
    My question is why is this happening? Some new feature of lion? It has only been going on a few weeks.
    It was quite troublesome until I figured out I could resolve the problem by unplugging the power cord, but I remain mystified as to why it happens.

  • Sleep and wake up question

    It's no easy to recognise is new Air is sleeping or not, because there is no sleep light.
    I see interesting difference on wake up process for two cases:
    1. System Preferences - Energy Saver - Computer Sleep = 1 minute
    - I wait more than 1 minute and computer is looking like sleep. Maybe no?!
    - To wake up it I can swipe touchpad or gently touch.
    2. Pressing power button and click Sleep
    - Computer is looking like sleep.
    - To wake up it I should press touchpad (swipe or gently touch doesn't wake up).
    Questions:
    1. Is wake up process normal for case #1? Is computer sleeping if to wake up touchpad swipe enough?
    2. Why there is difference for wake up process for case #1 and #2?
    A lot of thanks!

    Hi,
    Case one is for putting display to sleep only. The cpu will still running and your program like VLC will keep running.
    As for case two is real sleep, meaning your cup will sleep and all your progaram will stop running.
    Go to system preferenc-->expose and spaces-->expose-->active screen corners-->choose one of the drop down menu and you'll see put display to sleep.
    Cheers.

  • Syncing iphone and ipod to new imac

    I have a new imac (bought yesterday) and when i hookup my ipod and iphone it tells me that it will erase the device and load my music off the imac. No music on the imac yet! What am I doing wrong

    You need to transfer your iTunes library from the computer that you were syncing your iPod and iPhone with to your iMac, along with all other important data on your old computer that you will need or want to access on your new iMac, such as photos, documents, etc., etc.
    In regards to iTunes content, an iPhone cab be synced with a single iTunes library on computer only, and the same for photos transferred to an iPhone - from one computer only. When doing this with another computer, all iTunes content and photos transferred from a different computer will be erased from the iPhone first.

  • I need to get my iPhoto library off my external hard drive and onto my new Imac

    I  just purchase a new iMac.  I've been trying to get my old iPhoto library onto my new iMac from my old iMac.  I have the tower and when we tried to connect the new computer with the tower back up of course it did not work so I've had to transfer everything manually.  The latest thing I'm working on is my iPhoto library with over 22,000 pictures.  How can do this without losing the quality of my pictures.  I can open them through my external hard drive on iPhoto, but I really want them on the actual computer.  I've read several places that importing my iPhoto library would be a mess and I don't want that either.  HELP.  Everyone says it's a mess but I don't see any solutions. 

    If you have an iPhoto Library on your new Mac and it contains photos you want to keep then rename it before you copy the library from your old Mac.

  • How do I move files, photo's and itunes to new imac hard drive permanently?

    Hi, just bought (on route) new iMac and want to know how to move all files, photos and itunes to it hard drive permanently from my MacBook.
    MacBook being given to daughter after so want to transfer everything and then wipe clean. I am ok with computers wbut not the best. I am running a network through my time machine if that helps?
    Many thanks

    Follow the steps in Setup new Mac.

Maybe you are looking for

  • Automator doubling my Spotlight comment text

    I made a simple workflow to add text to the Spotlight comments field using "Get Selected Finder Items" and "Set Spotlight Comments for Finder Items" but when I use it, the text I enter is entered twice in the Spotlight field. What am I doing wrong he

  • Why does my Mail messages vanish????!!!

    Hello! Can sombody please tell me why my emails vanish as if they've been deleted out of thin air. If i try and search for previous email, nothing comes back but on my ipad and laptop and other devices they are there. I've set my settings to view the

  • Cancel Assignment from ACC

    Hi all, Could someone say to me if is possible to cancel the assignment of a DIR from own Standard Contest? If not, why? are there thecnical reason or logical reason behind? Because, I'm imagine that after some years, inside context will be a lot of

  • Photoshop CS smudge brush no longer smudges

    Version of Photoshop: CS (8) OS: Vista home RAM: 2 gigs Free Space: 29.7 gigs Video card: Nvidia The problem I am having is my smudge brush will no long smudge, all it does is color with whatever color I currently have selected. I ran into this probl

  • US employee getting error in ESS when accessing 'view my benefits'

    Hello All, We are facing a problem with Benefits on ESS.  An employee was divorced so he removed his spouse from benefits coverage.  Infotype 21, subtype 1 (spouse) record was delimited as of 4/30/2011 and infotype 21, subtype 10 (ex spouse) was crea