Questions tagged [sleep-mode]

A power-saving condition of a computer or mobile device where it appears it is not on; the screen is not on and typically no sound is output. The computer's state is maintained in RAM.

Use this tag to identify questions related to checking on whether a device is in sleep mode, what capabilities are available in that mode, and how to "wake up" the device if appropriate.

206 questions
-1
votes
1 answer

Python program should still run even when system sleeps [Uuntu]

I'd like to keep my Python program running, even when my computer is sleeping. The python program should not stop even when the system sleeps. I am using a Ubuntu. My file is only on my computer, not online. Please help me out to achieve this. If…
Dev
  • 503
  • 5
  • 17
-1
votes
1 answer

Batch job user wakes Windows from Sleep and Hibernate unintentionally

I've 1 Admin and 1 Local user on Windows 10 machine and Sleep and Hibernate behaved as expected: PC awoken from Sleep by key/mouse press and from Hibernate only on power button press. Yesterday I've added a new user to the PC with a "Log on as a…
Saran
  • 3,845
  • 3
  • 37
  • 59
-1
votes
1 answer

MSP430, how can I put it in sleep mode for 20 mins?

I'm working on an assignment. Can someone help me with this? How to put MSP430 to sleep for 20 mins and rise an interrupt after that ?
Preetham R U
  • 316
  • 5
  • 6
-1
votes
1 answer

What is the function of cyclic sleep mode in Router API MODE in XBee XCTU software?

I am using XBee pro series 2. I have read in many forums that ZigBee routers do not support sleep mode. But I have seen in XCTU software that we can still set the sleep mode (e.g. cyclic sleep mode etc.). Does XBee pro series 2 support sleep mode…
Jyoti Raj Sharma
  • 91
  • 1
  • 3
  • 10
-1
votes
2 answers

Will the JavaScript Audio() method play sound if the computer falls asleep?

If a website is running a JavaScript function that will use the Audio() method to play an sound file once every hour the clients computer will eventually fall asleep. Will the Audio() method still play sound through the clients speakers even if the…
sam bob
  • 19
  • 2
-1
votes
2 answers

what is the best way to long pause an exe

I have made a program in c++ for changing the password of a system and I wanna run it for every 2 hours,then I end up with two choice in c++ ,one is Sleep(ms) and the other is using recent thread lib this_thread::sleep_for(2h)[ 2h using…
RaGa__M
  • 2,550
  • 1
  • 23
  • 44
-1
votes
1 answer

How do I execute a command after some time but with a cancel button

What I want is to make my computer sleep after about 10 seconds but I want it to have a message with a cancel button this is what I tried: this is my warning with tkinter: from tkinter import * import ctypes def callback(): quit() root =…
Squash
  • 955
  • 2
  • 7
  • 17
-1
votes
1 answer

How to prevent app from closing when android device goes to sleep

How do i prevent my app from closing when the device goes to sleep mode, i obsevered that anytime my device goes to sleep mode my app closes but i want it still open when my devices comes out of sleep mode.
user1662302
-2
votes
2 answers

How to shutdown computers (windows) into hibernate state?

I really enjoy one of the windows computer hibernate benefits: I can power up the computer by pressing any key or mouse button. I wish I can shutdown my computer into hibernate state. I mean, software OS is completely off, but hardware goes to…
Kyle Chen
  • 1
  • 1
-2
votes
1 answer

How to READ the auto sleep time of pc from powercfg.exe (batch)

I have a batch file that automatically sets the computer to sleep after 0 minutes (aka never sleep). Then I want to set it back to what it was before. My question is how would I set the current sleep time to a variable before I turn it off? Thanks…
-7
votes
1 answer

show remaining minutes instead of hours

I need your help to show remaining minutes instead of hours 15 minutes instead of 15:30 Sample: time left to start reservation: 15 minutes private Notification getNotification(Date countdownEnds) { DateFormat timeFormat =…
1 2 3
13
14