AIR event when computer awakes from sleep mode?

Hi,
I have an AIR app that displays a new set of photos every 12 hours. Some users are complaining that the photos are not refreshed after 12 hours if the computer had been in sleep mode over night.
At first I thought possibly the Timer was stopping when in sleep mode so I instead modified the Timer to execute every minute and just check to see if the last refresh was at least then 12 hours ago. This still did not solve the issue.
Is there an event dispatched I can listen for to detch when the computer awakes from sleep mode? Or if any one has any other suggestions.
Thanks,
Ryan

No answer till now. Better close it.

Similar Messages

  • Open browsers quit when computer awakes from sleep mode

    This happens onlyon my Powerbook G4 15" 1.33GHZ, and not on my iBook 700MHz. When the PB awakes from sleep mode, any open browser quits. Following is, as an example, the debug output in Terminal of Firefox quitting (I have already sent those reports both to Apple and to the authors of the browser).
    ==================
    Exception: EXCBADINSTRUCTION (0x0002)
    Code[0]: 0x00000002
    Code[1]: 0x0523538c
    Reading symbols for shared libraries ................. done
    /Users/shavital/374: No such file or directory.
    Attaching to program: `/Applications/Firefox.app/Contents/MacOS/firefox-bin', process 374.
    Reading symbols for shared libraries ............................................................................... ....... done
    Reading symbols for shared libraries ........................... done
    0x0523538c in ?? ()
    Program received signal EXCBADINSTRUCTION, Illegal instruction/operand.
    0x0523538c in ?? ()
    (gdb) Quit
    (gdb) quit
    The program is running. Quit anyway (and detach it)? (y or n) y
    Detaching from program: `/Applications/Firefox.app/Contents/MacOS/firefox-bin', process 374 thread 0xd03.
    ===================
    Thanks in advance.

    No answer till now. Better close it.

  • When Cpu awakes from Sleep mode, sound doesn't w

    I am running Vista Ultimate 32bit and when awaking cpu from Sleep mode, seems like sound driver doesn't load. I was haveing the Blue screen but fixed that with updated video driver. I am running latest sound drivers and Vista is up to date. Is there a "hot fix"?Here are my specs... Q6600 G0Evga 680i A bios p3Evga 8800 Ultra 69.28W.D. 750gb sata2xGb Ocz 9200X-Fi FatalityCorsair 620hx psuAntec p82Logitech mx5000 keyboard&mouseLogitech z5500Samsung 242mp @ 920x200 60Hz?

    Hello hmnshgrwl,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    Intel-based Macs: Resetting the System Management Controller (SMC)
    http://support.apple.com/kb/ht3964
    The System Management Controller (SMC) is responsible for many low-level functions on Intel-based Macs.
    Best of luck,
    Mario

  • WIFI slow to reconnect when phone awakes from sleep mode

    Today, I updated my LG G3 to Android Lollipop. I have WIFI set to turn off when in sleep mode (unless device plugged in). Now when the phone comes out of sleep mode, it takes up to a minute before the WIFI connection is reestablished. With the previous version of the OS, WIFI reconnected immediately after awakening from sleep mode.
    Has this problem been reported to Google? I have not found a way to report bugs directly to Google as a user.
    Thanks,
    Tim

    Joel, thanks for your reply. I've followed your instructions, and the problem persists. I assume by reset, you mean reset to factory settings. No. It has been rebooted, and powered off/on several times since the OS update. I have no idea whether there are any apps that use WIFI only. How would I know what each app may require?
    Since this happened immediately after the OS update, the logical conclusion is that the update caused this behavior. In my 45 years as a software engineer, I can say this is the most likely cause.
    Now, here are two more observations. When I first power the LG G3 up, the WIFI connection is made immediately; before I even unlock the device. So, we know the OS is quick to establish connections upon power up. It is only when coming out of sleep mode that the WIFI connection is slow to be reestablished, taking about a minute as opposed to immediately with the prior OS version.
    The second observation is that with my wife's Samsung Note 4, which was updated to lollipop several weeks ago, I do not see this delayed WIFI connection after being awakened from sleep mode. With the Note 4, the connection is reestablished immediately with lollipop as with the prior OS version.
    Considering the difference in behavior between the Note 4 and the G3, I would conclude that LG made a firmware change for lollipop which is causing the delay, or LG didn't make a necessary firmware change for lollipop which is causing the delay. At this point, I would say this is an LG G3 problem. It should be easily reproduced. Under the advanced WIFI settings, the setting "Keep WI-FI on when screen is off" should be set to either "Only when plugged in" or "No".
    Thanks again for your help.

  • Monitor wont awake from sleep mode

    I have a Pavillion H8-1130A and HP x23LED purchased March 2012.  The screen won't awake from sleep mode.  I can use the mouse successfully with my laptop.  I have tried unplugging power, switching around the DVI cables (I don't have a VGA cable to try).  Any suggestions?

    I recently purchased an HP Envy 15T Laptop.   I am also having the same problem.   When set in sleep mode for more than 3 minutes or so, computer will not wake up.   Power button turns to solid, keyboard lights up, but only black screen.  The only thing I can do is remove power cord & battery and then replace.   I can then start computer.     I contacted Costco Consierge.   They took me through a sytem restore to an earlier date I had on file but problem did not correct.   I am next trying to contact HP support for assistance.

  • OSX 10.9.1 macbook pro 13 retina - wifi does not reconnect automatically when waking up from sleep mode since I have a Bluetooth apple magicmouse

    Hello,
    My config is OSX 10.9.1 new macbook pro 13 retina (2014).
    The wifi does not reconnect automatically when waking up from sleep mode since I have a Bluetooth apple magicmouse.
    It was not the case before I bought the BT mouse.
    Is this problem between Wifi and bluetooth coming from the OS?
    Is there a fix already available or scheduled?
    Thanks

    Hello alexandrefromfrance
    Check the Symptom: The network connection drops unexpectedly section for steps on what to do when your MacBook Pro does not connect after waking from sleep. I have also quoted the section on troubleshooting the issue as well.
    Wi-Fi: How to troubleshoot Wi-Fi connectivity
    http://support.apple.com/kb/HT4628
    Symptom: After restarting or waking from sleep, my computer might not connect to the Internet
    After waking from sleep or starting up, your computer may not show that it is connected to a Wi-Fi network.
    After start or wake, your computer may indicate that it is connected to a network, but does not connect to the Internet.
    Solution
    Use these steps if your computer does not automatically connect to your desired Wi-Fi network.
    Check your TCP/IP settings in the Network pane of the System Preferences. Click the "Renew DHCP lease" button
    Choose System Preferences from the Apple menu.
    Choose Network from the View menu.
    Select Wi-Fi, then click the Advanced button in the lower-left hand corner of the screen.
    Click the TCP/IP tab from the top of the screen.
    Click the "Renew DHCP lease" button.
    Select the Wi-Fi tab and view your Preferred Networks list.
    Select each network and click the minus sign to remove those networks from your Preferred Networks list.
    Click OK and close the Network preferences.
    Remove your stored network passwords using the Keychain Access Utility.
    Open Keychain Access from /Applications/Utilities. Your window will look like this:
    Remove your AirPort network passwords from the login keychain: Select the "login" keychain from the Keychain sidebar. Click the "Kind" column to order the list of keychain items by their type. Remove all entries of the kind: "AirPort network password".
    Remove your AirPort network passwords from the System keychain: Select the "System" keychain from the Keychain sidebar. Click the "Kind" column to order the list of keychain items by their type. Remove all entries of the kind: "AirPort network password".

Note: The above steps will remove your Wi-Fi network passwords. If you do not know them, or if your network does not use passwords to restrict access, you should contact your network administrator.
    Restart your computer.
    Join your Wi-Fi network. You will need to enter your password for your network again if it requires one.
    Regards,
    -Norm G.

  • Firefox hand every time when laptop exit from sleep mode. Tested on 5 laptops with windows 7.

    Firefox hand every time when laptop exit from sleep mode. Tested on 5 laptops with windows 7.

    Same exactly problem here, very annoying when the computer goes to sleep mode and then Firefox locks up.

  • I'm new to the MAC world. I turned my computer on from 'sleep' mode, and a window was up stating that the IOS disk was full; asked me to force quit, then it just froze. It's been 2 hours. Help! I'm worried about losing photos/videos of my children. Thx!

    I'm new to the MAC world. I turned my computer on from 'sleep' mode, and a window was up stating that the IOS disk was full; asked me to force quit, then it just froze. It's been 2 hours. Help! I'm worried about losing photos/videos of my children. Im not sure if there's something special I need to do once I turn it back on; in the meantime, its still on... which I'm afraid the picture on the screen will burn into the screen. Does that happen on iMac's? Thx!

    Try a hard reset. ( holding Power til it restarts)
    Once to your desktop. Click the Apple icon >> About this mac >> More info>> Storage
    Once you see what you have the most of. Try to see what you can delete.
    Open up any folder>>all files>> or buy an external to store more data.
    Once deleting make sure you empty your trash.
    If you are new and its a new computer, you might need to bring it to a store for further assistence.
    Coast Guard Mechanic w/ an Apple Problem

  • IMac freezes up after awaking from sleep mode. I then Force it to shut down

    My iMac freezes up after awaking from sleep mode. I then Force it to shut down and it freezes up during startup. Any clues out there? This is a first generation iMac G5 17".

    Welcome to Discussions - check and see if you're included in Apple's Repair extension programs, your power supply or capacitors might be bad.

  • Computer crashes when trying to awake from sleep mode

    Hi, the last few days when I'm trying to awake my computer from sleep mode I can't do it from the keyboard (as set by me). When I push the power button the computer awakes from an unexpected shutdown.
    Looking in the Event Viewer I see it logs the critical Kernel-Power event when the computer awakes from the shutdown.
    The Kernel-Power log:
    System
    Provider
    Name]
    Microsoft-Windows-Kernel-Power
    Guid]
    {331C3B3A-2005-44C2-AC5E-77220C37D6B4}
    EventID
    41
    Version
    2
    Level
    1
    Task
    63
    Opcode
    0
    Keywords
    0x8000000000000002
    TimeCreated
    SystemTime]
    2014-06-03T20:51:48.583628200Z
    EventRecordID
    770654
    Correlation
    Execution
    ProcessID]
    4
    ThreadID]
    8
    Channel
    System
    Computer
    Gil-PC
    Security
    UserID]
    S-1-5-18
    EventData
    BugcheckCode
    0
    BugcheckParameter1
    0x0
    BugcheckParameter2
    0x0
    BugcheckParameter3
    0x0
    BugcheckParameter4
    0x0
    SleepInProgress
    true
    PowerButtonTimestamp
    130463022411335780
    The EventLog previous:
    System
    Provider
    Name]
    EventLog
    EventID
    6008
    Qualifiers]
    32768
    Level
    2
    Task
    0
    Keywords
    0x80000000000000
    TimeCreated
    SystemTime]
    2014-06-03T20:52:08.000000000Z
    EventRecordID
    770649
    Channel
    System
    Computer
    Gil-PC
    Security
    EventData
    23:50:08
    ‎03/‎06/‎2014
    870
    DE07060002000300170032000800C501DE07060002000300140032000800C501600900003C000000010000006009000000000000B00400000100000000000000
    Binary data:
    In Words
    0000: 000607DE 00030002 00320017 01C50008
    0008: 000607DE 00030002 00320014 01C50008
    0010: 00000960 0000003C
    00000001 00000960
    0018: 00000000 000004B0 00000001 00000000
    In Bytes
    0000: DE 07 06 00 02 00 03 00  
    Þ.......
    0008: 17 00 32 00 08 00 C5 01   ..2...Å.
    0010: DE 07 06 00 02 00
    03 00   Þ.......
    0018: 14 00 32 00 08 00 C5 01   ..2...Å.
    0020: 60 09 00
    00 3C 00 00 00   `...<...
    0028: 01 00 00 00 60 09 00 00  
    ....`...
    0030: 00 00 00 00 B0 04 00 00   ....°...
    0038: 01 00 00 00 00 00
    00 00   ........
    Thanks,
    Gil

    We do need the actual DMP file as they contain the only record of the sequence of events leading up to the crash, what drivers were loaded, and what was responsible.  
    We prefer at least 2 DMP files to spot trends and confirm the cause.
    Please follow our instructions for finding and uploading the files we need to help you fix your computer. They can be found here
    If you have any questions about the procedure please ask
    If you are using Blue screen view, who crashed, or a similar application, don't.  They are wrong at least as often as they are correct
    Wanikiya and Dyami--Team Zigzag

  • How to stop the computer from changing its local network name when waking up from sleep mode

    How do I prevent a mac mini from changing its' network name automatically when it wakes up from sleep mode... It will wake up and display a warning that the network name is already in use and it changes its name to (n+1) name with number after it... I know that there is no other device with that name because the only other things on the network are 2 hard drives (one being used for time capsule) and a printer..
    This is very annoying and needs to be fixed.... don't tell me to make the computer never sleep because that defeats the power savings settings under power management.

    Go to System Preferences>Network>AirPort and delete your network from the Preferred Networks box. Reenter your network information. Make sure that AirPort is the topmost listed interface when you Show Port Configurations. Apply the changes and Restart. Does it work now?

  • When my IMac awakes from sleep mode, the password login screen freezes and no cursor appears.

    Hello!  When my IMac awakens from sleep mode, my log in screen is frozen (I can't type anything) and there is no cursor.
    I can turn the computer off and on again and then I have an active log in screen, but if I walk away from the computer and it goes into sleep mode and i have the same problem trying to bring it back from sleep mode.
    Thoughts?

    Hey Kristogirl,
    I understand that when waking from sleep mode, your iMac freezes. Try executing these two troubleshooting steps:
    Intel-based Macs: Resetting the System Management Controller (SMC)
    http://support.apple.com/kb/HT3964
    OS X Mountain Lion: Reset your computer’s PRAM
    http://support.apple.com/kb/PH11243
    If neither of those help the issue, I would follow the steps in the next article, specifically the "If the issue occurs in various applications, or in Mac OS X" section:
    Mac OS X: How to troubleshoot a software issue
    http://support.apple.com/kb/HT1199
    Welcome to Apple Support Communities!
    Best,
    Delgadoh

  • Weird noise coming from computer when 'waking up' from sleep mode

    Hi everyone,
    I recently upgraded to Yosemite 10.10.1 - specs are in the attached photo below.
    Since yesterday, when I turn on my computer, or 'wake' it up from sleep mode, it makes a strange and noticeable whining noise. I've had the computer for around two months and it has never made such noises. The noise lasts for about 1-2 seconds. Aside from that the computer is operating as usual.
    I reset/shut down the computer several times and also did a PRAM reset. I have no idea what the issue may be and can't seem to find anything of relevance in the community. Should I go to an Apple Store? Is there something to be fixed or will the computer need to be replaced?
    Thank you all for your time!

    SSDee wrote:
    @Thor - I too like Acronis although one could use Windows Backup if so desired.
    Sleep mode -  I use sleep mode for scheduled recording of TV shows in Windows Media Center. If I shut down, no recording.
    Yea, waking up to do a recording is certainly a valid scenario.  I gave up on Windows Media Center right before they came out with an XBOX that is actually quiet and could be used as an extender.  We've been a TiVo family since those noisy XBOX days.
    Regarding sleep/hibernate, I just got tired of my machines waking in the Lenovo dock and having to reset application position, screen resolutions, and all of the other crap that seems to happen to ThinkPads on a resume.  That doesn't even take into account the black screen of death or other reliability issues I've seen over the years. 
    I am firmly a shutdown guy now.  It's clean and I know what I get when I press the power button again.  With 15-25 second boots and fast I/O, the reliability outweighs the perceived time savings.
    We haven't discussed what might be corrupting the original posters file system.  That is disconcerting.  Sounds like a Crucial M4 firmware issue.  If that is the culprit, there's going to be hell to pay on the mSATA M4 based Ultrabooks assuming it has the same bug.

  • When Lion awakes from Sleep the whole system is sluggish? Must restart computer to get it back up to speed.

    Upgraded to Lion and when the computer wakes from sleep it is incredibly sluggish.  Takes 1-2 minutes to switch between applications, typing is very slow, etc. Only thing that cures it is restarting the Mac.  Is this something others have experienced and can it be fixed?

    I have that problem on my Mac mini.  The mini becomes so dysfunctional as to be unusable after it's been idle for a while.  Even DVDs won't mount (or eject) without a reboot.  <edited by host>.  It's disgraceful.  Apple should be ashamed of this Lion release, it clearly isn't ready. 
    I don't think there is anything you can do short of re-installing Snow Leopard until Apple releases enough bug-fix updates to fix the Lion mess.  In the mean time, just hope that Lion doesn't eat your Mac, especially if it's a mini.

  • FireWire drive unmounting/disapering when computer returns from sleep

    I have a problem since the latest software update 10.4.10
    that my WD 500GB FW800 drive keeps unmounting/disapearing after
    the computer returns from sleep, and subsequently issuing a unclean unmount message!
    Toggling the drive power restores it and so far no data is lost... I hope..

    Well, yesterday I decided to do some troubleshooting to confirm the source of the problem. I connected a different external hard drive using the same USB2 cable that I was using with the problematic WD Mybook. I performed flawlessly and showed no issues with not being accessable after the computer woke from sleep. Next I connected the same drive via Firewire 400. Also no issues. That seemed to confirm that there was a problem with the WD drive! However, just to be sure, I reconected the WD Mybook with the original USB cable and gave it another whirl. It has also been performing flawlessly for the past day!
    Possibilities:
    1 There was minor oxidation on the contacts of the cable or in the drive socket which gave a poor connection resulting in the problem. Removing and replacing the cable several times removed the oxide and restored proper electrical contact and drive operation.
    2 Something in the WD Mybook firmware "reset" when it was unpowered for a few hours, also restoring proper operation. WD's website states that the Mybooks are able to remain in standby mode for long periods of time but that they recommend they be powered down when not in use.
    It would be interesting to see if anyone else can confirm that their Mybooks begin to operate properly after "giving them an unpowered rest" or by cleaning the USB connections.
    I know how to keep my Mybook operational for now, but I will likely have to ditch it when I move to a multi FW bus computer in the future (unless WD can correct their firmware).
    Cheers

Maybe you are looking for