Questions tagged [standby]

StandBy is a "suspended mode".

StandBy is a state in which the device isn't completely off, but also not completely on.
It's a "suspended mode" intended to save power consumption.
Sometimes referred as to the device's "sleep mode".

143 questions
1
vote
1 answer

Android going to sleep (standby)

I want my android device to go to sleep (screen off), has someone an idea how to do it? In the past I was using the PowerManager function goToSleep(time), but apparently this function does not exist anymore, I don't understand why. Other topics…
Stochelo
  • 153
  • 11
1
vote
2 answers

Where can I find information about windows was in standby-mode

I have a C# application to find the "start working" and "finish working" events for a user. The goal is to get a list with datetime values, when a PC was "up" and when it is "down" again. This is working for logon/logoff and hibernation but not for…
Shnugo
  • 66,100
  • 9
  • 53
  • 114
1
vote
2 answers

Tell Windows XP to Standby programmatically

How can I tell Windows XP to switch to standby mode programmatically with C/C++ native code?
Leonid F.
  • 577
  • 3
  • 5
  • 21
1
vote
0 answers

Android 5.0 - how to wake up device display? Scienctific app

Question Since there is only one Wake-Lock left with 5.0, what is the way to force the device to go out of standby for 2-5 Seconds and then go back black. No interaction, no unlock of keys... just out of standby. All solutions I found work with…
Julian
  • 11
  • 1
1
vote
1 answer

Put computer in standby after running a scheduled task but only if it had to wake up to run it

I have a scheduled task which I want to run every few hours. If the computer is currently in standby, I want it to wake up, run the task, then go back to sleep. If the computer is currently on, I want it to run the task but not go back to sleep,…
eggbert
  • 3,105
  • 5
  • 30
  • 39
1
vote
1 answer

Win32 API prevent standby

What is the Win32 api function that prevents the system from going into standby? Some programs use it, which is pretty annoying in my opinion. I know there's a couple of WM_SYSCOMMAND messages you can trap to prevent the screensaver from coming on..
bobobobo
  • 64,917
  • 62
  • 258
  • 363
1
vote
1 answer

ActivityRecognitionClient requestActivityUpdates() method doesn't trigger given PendingIntent when phone state is stand by

I coded an application to record user's location periodically (in the background). I used ActivityRecognitionClient. When activity is received it is compared to previous activity state and is recorded (or not) according to evaluation. It's working…
1
vote
1 answer

C# - How to Suspend to RAM and wakeup

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
Sandeep Bansal
  • 6,280
  • 17
  • 84
  • 126
1
vote
1 answer

How to force the device to return in standby mode

I have an alarm which periodically (every 30 sec) wakes up my device. When the alarms starts, I use the following code to open a window: private void CreatePreviewDialog() { dummy_frame_layout = new DummyFrameLayout(context); …
user2923045
  • 369
  • 2
  • 6
  • 16
1
vote
2 answers

How do we check if the iphone is on standby mode?

How can we check if the iphone has gone into a standby mode and returns from that mode programmaticlly? I am using this to force it not to sleep during the game: application.idleTimerDisabled = YES; But if the user uses the sleep button it messes…
Frank
  • 3,073
  • 5
  • 40
  • 67
1
vote
1 answer

Fileobserver in service during standby

i've got a problem with my Android FileObserver. I have a background service running (returns START_STICKY), which references two FileObservers. Everything is working fine until the device is set to sleep mode, which will stop the service, as far as…
user2226184
  • 23
  • 1
  • 5
1
vote
0 answers

Keep SensorEventListener during "standby"

I'm building an app that needs to listen to the accelerometer all the time, even when the application is not in foreground. (At this point, I want to clarify that this is not an app for Play Store. This is an app with a specific purpose for internal…
Miguel Ribeiro
  • 8,057
  • 20
  • 51
  • 74
1
vote
1 answer

Playing music in sleep/standby mode in Android 2.3.3

I am trying to develop a simple media player to play mp3's of the sdcard/music directory for Android 2.3.3. The problem is when I hit the power button or when the device goes to sleep, the music stops. From googling, and searching stackoverflow, I…
user1005585
  • 285
  • 5
  • 17
1
vote
0 answers

Unable to sync with Oracle Standby database

I have created a standby database on Windows machine with version 10.2.0.1 For the first time for the database to sync I have copied the archive from the primary database. But on the switch from the primary database. The archive log doesn't ship to…
محمد خليل
  • 137
  • 1
  • 5
  • 13
1
vote
1 answer

matlab tic toc function and computer stand-by

I am running a matlab program that its run-time is high(several days). I measure the run-time of various steps of the program using tic and toc functions. sometimes I stand-by or hibernate my laptop to transport it safely. my question is that is…
Lily
  • 315
  • 2
  • 6
  • 16