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
0
votes
0 answers

Can a HTML5 app in a browser keep an Android device awake?

I want to create a small HTML5 app that runs in a browser window. Its purpose is to track my geolocation and the heart rate with Javascript while cycling or running. The screen does not need to stay on (as I don't even want to show a map), the phone…
Rob
  • 11,492
  • 14
  • 59
  • 94
0
votes
0 answers

Why Chrome tab freeze while redirecting React App in sleep mode?

I'm programming a React App giving access to some Admin pages. I use react-idle-timer to force a redirection to homepage after an idle of 15 minutes. That works well. Except if the system fall asleep. Then the code seems to work (according to the…
user10188111
0
votes
0 answers

Incorrect value everytime when esp32 wake up from deep sleep

I'm measuring battery reading and sending it to the master using nrf24l01 module. But for the first time after reset, battery measurement always gives incorrect value. It's same as if wake up from deep sleep. I don't know how to fix it. void…
Quang Minh Lê
  • 169
  • 1
  • 2
  • 13
0
votes
1 answer

Group policy is overriding my attempts to prevent sleep in Win10 programatically. Looking for hacky ways to keep it awake?

I've been tasked with writing a Windows script that does a number of things, including preventing Windows from sleeping. I've already tried Window's SetThreadExecutionState(EXECUTION_STATE.ES_DISPLAY_REQUIRED |…
Sean Weber
  • 21
  • 1
0
votes
1 answer

how create a sleep mode for servers

for my jelastic servers as i dont use much would like to put them in something similar to sleep, that they are only activated in http request i saw for trial accounts sleeps something, but would like to know if there would be a way to do it with a…
vic
  • 1
  • 1
0
votes
1 answer

Allow computer to sleep while playing audio from a Windows application

I am working on a Windows 10 application that plays audio in the background. What I would like to be able to do is allow the computer to still go in to Sleep Mode while the audio is playing (as in, Power & Sleep Settings, Sleep after XX minutes). …
bbyam
  • 154
  • 2
  • 7
0
votes
1 answer

C# Kill process before computer enters sleep mode

In Windows 10, I have a process I've created to run in the background that is initialized at Startup. When the computer goes to sleep, it crashes windows and gives me a BSOD. I'm open to any solution, however I'm currently attempting to kill the…
Justin Grant
  • 245
  • 3
  • 10
0
votes
1 answer

Login screen - Recycler View - Disable Service when device go to sleep

I am trying make an application with 2 screen: MainActivity (login) and CustomerInfoActivity. Login screen with. The other screen is used to show customer information (name, phone, image) displayed by recycler view, and a textview to display…
0
votes
1 answer

Blackberry 10 prevent device to go to sleep mode

Sorry, but I am new in blackberry 10 development basically I am a Android developer looking for an API in blackberry 10 which prevent my blackberry 10 application to go to sleep mode. I want my screen active forever. In my application I am using…
Amit Yadav
  • 32,664
  • 6
  • 42
  • 57
0
votes
1 answer

Attiny85 sleep but keep millis runnig

I’ve got a digispark Attiny85 board. Is there a way to set sleep on the board but keep millis runnig?? I’m working on small low-power watch and I don’t have RTC here so i need to get time from millis.
jakubkrnac
  • 11
  • 3
0
votes
1 answer

Arduino LED control sleep

I want to implement a simple LED controller with an Arduino Uno, that goes to sleep and has different buttons. Functions of buttons are: Digital 2: Button for ON OFF Digital 3: Button for Wake up Everything works ok, but when it goes to sleep, the…
0
votes
1 answer

LowPower library: Powerdown (sleep) an ATMega32u4 works but wakeup doesn't happen

Situation: I made/developing this controller (with many functions) with use of a Pro Micro (ATMega32u4) and want to extend it with a wake-up functionality when touching it (with use of a touch sensor). This all to save some energy when not used. So…
Codebeat
  • 6,501
  • 6
  • 57
  • 99
0
votes
0 answers

why fused location provider not giving locations in huawei phone in offline mode?

Android fused location provider stop updating in sleep mode and also phone in offline mode not getting location.but the same code working perfectly in samsung phone and huawei phone shows these issues.how to solve these issues.
0
votes
1 answer

MQTT with Arduino ESP8266, can't publish to broker after a couple of publishes

I am trying to implement MQTT with Arduino and ESP8266. The setup is supposed to publish to broker, go to sleep for some interval, then reset itself, so that the cycle continues. The sketch: #include #include #include…
Pratik Kumar
  • 2,211
  • 1
  • 17
  • 41
0
votes
0 answers

what kind of Machine Learning algorithm Fitbit might be using to determine how much user has slept?

So a wearable device like Fitbit has data from accelerometer( movements in the wearable(watch) ) and also heart rate depending upon the device. And using the data from these inputs, fitbit is able to predict how much user has slept. So data I have…