wakeup

Symbian Power Status Notification

Hi, I have an application that uses memory card and I need to do some save/restore state operations when the power of the card reader is turned off and on back again. This usually happens after some time of activity and phone goes to a power save mode. In Windows Mobile I solved the same problem by receiving power notifications from the...

How to use .NET to Turn the Monitor back on after the Idle Timer has Turned it Off?

How do I turn the monitor back on after the idle timer has turned it off? I have power options in windows 7 set to: Turn off monitor after: 1 minute Go to sleep: Never But I don't know how to turn it back on through code. ...

iPhone Web Application JavaScript events break after waking up from sleep.

I'm trying to build a mobile-safari/iphone web-app using jQuery code I already wrote for the desktop version of the app. The problem I'm having is that when my phone goes to sleep with the web-app running, when I wake it up (slide to unluck) the JavaScript event handlers no longer function. In this case meaning when I click on a link t...

How do i wake a computer from being in sleep mode? in Vb 2008 expr edition

I'm trying to make an alarm clock. When the computer is in sleep mode, when the alarm is triggered i want the computer to wake up and play the alarm. Can tell me how to do this in vb 2008. ...

C# - How to Suspend to RAM and wakeup

Hi, I want to make a utility that will allow the system to use the Suspend to RAM feature and also have the ability to wakeup at a certain time. Is this possible and how can I do this? Code snippets would be great to look at. Thanks ...

How to find the MAC address of a 'shutdown' system on local lan (is it possible?)

hello everyone, Can anyone please tell the way to find out the mac address of a system which is: Shutdown Power plugged in Connected to Lan Nic card ON. Kindly post the solution as i urgently need it in my project... thank you Update I am asking how to find out the mac address of some other system which is already shutdown.... an...

How to turn on monitor after wake-up from suspend mode?

Hi all, I need wake up PC from sleep to perform some actions - from C#. I've used CreateWaitableTimer functions, everything goes fine, at given time PC wakes up - but monitor stays in power save mode (turned off). So i want to know - how possible to turn on monitor after wake up? PS I've tried "Complete Guide on How To Turn A Monitor On...

OS Reboot, Shutdown, Hibernate, Sleep, Wakeup (Windows Python)

Hi, I'm looking for an automatize way of doing Windows Power Management functions: - Reboot - Shutdown - Hibernate - Sleep - Wakeup Is there a Python module to cover this functionality? Of course any other solutions are also appreciated... ...

iPhone App: How do I call a function after my iPhone has been to sleep?

I have an app with some animations which are called by timers. When one animation finishes then a timer is called to start another. If the iPhone sleeps and requires unlocking to activate it then the animations do not start. This is obviously because the timer ends whilst the app is asleep and then the function to restart an animation do...

Android - acquiring a hold lock from a broadcast receiver

Hi. I am trying to acquire a wake lock in a broadcast receiver so that my alarm clock application can wake the phone from sleep. It crashes at the following line in the code below: PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, "My Tag"); Any ideas what's going on? Is there a better way to do this? Tha...

Broadcast-style IPC

Given all the options to have processes or threads interact with each other (locks, mutex, semaphores, message queues, shared memory, etc), I'm a bit lost about what's best to do what I want. I want several processes to wait for a certain event to happen. That is, I want them to block either until a certain timeout is reached, or a...

Android WakeLock

Hey guys! I have a problem with acquiring a WakeLock. It seems not to work. I am trying to acquire a FULL_WAKE_LOCK but neither the display gets enabled nor is my app able to perform tasks. I am using the following permission: android.permission.WAKE_LOCK My acquire code looks like this: PowerManager pm = (PowerManager) getBaseContex...

Wake Android Device up

Hey i need to wake my sleeping android device up at a certain time. Any suggestions? P.S. Wake up: turn display on and maybe unlock phone ...

Wakelock is not turning on the screen? Help?

Hey all, I have a signal that puts my app to sleep for a given number of minutes (using AlarmManager) and then wakes it back up. Everything is working except the screen doesn't ever come on. I'm using a wakelock like so from a BroadcastReceiver class: KeyguardManager key = (KeyguardManager) context.getSystemService(Context.KEYGU...

Creating an autostart application on Ubuntu Linux

Hi! I'm trying to setup a Python application that should automatically start when Linux boots. It should also start (unless not already running) if the computer resumes from standby mode - which is mainly the problem. Does anybody know where to integrate these requirements? Thanks, Marius ...

Wake System from Sleep C#

Hi everyone, I'm trying to add functionality in my program that will allow the user to wake their system from sleep at a set duration. I've googled a lot about this and the examples online don't seem to work. I've used WaitableTimer set the system to go to sleep but it doesn't seem to wake up. Can anyone help me out here. for code r...

How to handle Android activity lifecycle on wake up (alarm app)

I'm having a couple of problems with an alarm app I am developing. The first thing that I think is a bit weird is that when an alarm goes of and wakes the phone up. These things happend. oncreate onresume onpause onresume Why are they run in that order? The last two should not be called? And this is what's causes me big trouble, b...