sleep-mode Questions
11
How I can prevent sleep-mode on python without using extra apps on different OS(Ubuntu, Windows...) but in most cases I need Linux solution
I am making app that works big amount of time. It uses l...
Jazmin asked 25/8, 2019 at 14:44
2
Solved
In my file transfer application (WinSCP), I use SetThreadExecutionState(ES_SYSTEM_REQUIRED) to prevent the system from going into sleep mode while a file transfer is in progress. But this does not ...
Chaille asked 30/5, 2022 at 15:17
1
When connected to a remote SSH host and my Mac goes to sleep after a few minutes of inactivity, I have to reload the whole window to re-establish a connection when I return.
What's the least energ...
Fyrd asked 9/11, 2020 at 10:1
2
Solved
I am wondering if it is possible for a node.js program/script to prevent the operating system (windows) from entering in sleep or hibernate mode?
Peerless asked 1/4, 2017 at 9:59
2
Solved
I am trying to do a simple bot in Python, I have written the body and I wanted to try it on real data. So I ran it, it runs in an infinite loop and at the end of the loop it sleeps for 6 seconds be...
Writing asked 7/7, 2018 at 10:34
1
I have a bash script that executes several long-running commands on Mac OS. How can I prevent the computer from going to sleep while the script is running?
Yellowlegs asked 14/2, 2021 at 23:47
4
Solved
I have found a lot of info about how to shut down computer, put it in hibernation etc via the command line, however, any tips i have read about getting it to sleep as it does from the start-menu ha...
Rockweed asked 15/6, 2011 at 0:58
3
Solved
I want to prevent Android Mobile from going into sleep mode when my threads are sending HTTP request. as what happened while threads are doing HTTP calls mobiles goes to sleep mode and when user wa...
Treatment asked 1/3, 2011 at 14:18
4
I'm writing an android application that depends on network activity and the alarm manager sometimes waking the phone up from a sleeping state.
My question is how can I reliably test this on device...
Abolition asked 5/8, 2010 at 17:15
6
Solved
Is it possible to subscribe to a Windows event that fires when Windows is going into or coming out of Sleep or Hibernate state?
I need my application to be made aware when the computer is going to...
Barefaced asked 23/10, 2008 at 2:4
1
Solved
I have a working music App, written in Swift.
I wanted to integrate a sleep mode which could pause the music played after, say 10 minutes.
I used perform(_ aSelector: Selector, with anArgument: Any...
Intuition asked 17/4, 2017 at 12:27
2
I have an Android application that has a chat client as one of its features. The chat client uses XMPP based on the Smack library for Android and running Openfire as XMPP server in the background. ...
Horning asked 24/1, 2017 at 2:42
3
Solved
I've got a problem with AlarmManager.
In short, I plan an alarmManager :
Intent intent = new Intent(context, MyActivity.class);
PendingIntent pendingIntent = PendingIntent.getActivity(context, 0,...
Expansile asked 30/11, 2016 at 20:0
2
There's a desktop application that uses Thread.sleep() to achieve long (minutes or hours) delays. This same application has been working fine from Windows XP through (at least) Windows 7. The appli...
Photolithography asked 1/4, 2015 at 15:0
2
Solved
By default it automatically goes to sleep mode after some time. How to switch that off?
Gemina asked 31/5, 2016 at 10:51
3
Solved
I was searching SO and web but i couldn't find sufficient answer for my particular question. Ok here we go:
Every user can modify screen timeout on android. (when screen turns off when its idle fo...
Jota asked 25/3, 2013 at 16:38
2
Solved
I'm new in android. I struggle with my application approximately 3 weeks. I need sent and receive packets in normal mode and sleep mode. My app must exchange data a 5 seconds. I tried using alarmma...
Curkell asked 25/11, 2015 at 14:58
2
Solved
I am using Windows 8.1, Visual Studio 2013 and I have a C++ project which runs over 15 minutes. But the problem is the windows gets into sleep while my is still debugging.
I know this is occured ...
Timi asked 15/9, 2015 at 4:39
2
Using C#, how can I prevent Windows OS from entering Sleep mode?
I know, that I can turn Sleep Mode off, that is what I do now. This question is about preventing the OS from Sleeping while a...
Swum asked 26/2, 2015 at 19:32
2
Solved
I am attempting to put a device to sleep and I have found references all over about using the PowerManager class's goToSleep(long) method but I do not see it in the documentation and it does not wo...
Montague asked 11/2, 2015 at 16:23
2
Solved
I am developing a VoIP based iOS (7.1) application. It's underlying socket programming is written in C++ rather than objective C. The app runs fine in foreground but while putting in sleep/backgrou...
Telluride asked 24/12, 2014 at 5:2
2
Solved
I want to send device to sleep or turn the screen off. I have investigated and found this topic: Turn off screen on Android
Basically, the are three ways to do it, but I have found problems for th...
Tyro asked 9/12, 2011 at 19:28
2
I wanted to detect two events :
Device gets locked/unlocked.
Device goes to sleep and the screen blackens.
First one I have been able to achieve here:
Is there a way to check if the iOS device ...
Deadlight asked 16/1, 2013 at 6:0
2
Solved
What API or tools can I use to query the capabilities of the system and choose the most appropriate on for putting the PC to Sleep, Hibernate or shutdown mode?
Dunham asked 29/12, 2008 at 16:20
2
Solved
Since I updated to OSX Lion I got a strange issue.
I am used to never shut down my Mac, I simply put it in hibernate / sleep mode.
But since the update to Lion the mac just starts up at random tim...
Tiruchirapalli asked 25/8, 2012 at 11:37
1 Next >
© 2022 - 2024 — McMap. All rights reserved.