Skip to main content
The 2024 Developer Survey results are live! See the results

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.

sleep-mode
0 votes
0 answers
56 views

ESP32 not entering deep sleep mode despite deep sleep function being called (RTOS)

I am working on a project using an ESP32, where I need the device to enter deep sleep mode for 5 minutes when a button is pressed in the Blynk app (connected to virtual pin V5). I have added the ...
Adeepa Renu's user avatar
0 votes
1 answer
136 views

Why does my ESP32 never wake from deep sleep?

My deep sleep call never restarts the ESP32 and I don't know why. This is my code: #define uS_TO_S_FACTOR 1000000ULL void deepSleep(long seconds) { loggerMain->info("entering deep sleep ...
RogerParkinson's user avatar
0 votes
0 answers
17 views

ATTiny814 not going into powerdown sleep

#include <avr/io.h> #include <avr/interrupt.h> #include <avr/sleep.h> #include <avr/cpufunc.h> #include "timers.h" #include <util/delay.h> #include <Arduino....
Osama Khalid's user avatar
0 votes
0 answers
86 views

Mac LaunchAgent with full disk access and caffeinate

I have a script that I would like to run every day at 4 AM. It downloads data to my user folder, fits some models, and saves files within my user directory. The script is a shell script, with one ...
Ike348's user avatar
  • 170
0 votes
1 answer
522 views

RTC_NOINIT_ATTR vs RTC_DATA_ATTR (slow vs fast memory)

I am trying to understand the difference between RTC_NOINIT_ATTR vs RTC_DATA_ATTR (slow vs fast memory) but cannot see a clear definition and examples when to use which - not even on the original ...
user14665305's user avatar
0 votes
0 answers
49 views

Enabling setInterval or react-idle-timer to Run in Computer Sleep Mode

I'm currently working on a project where I need to execute periodic tasks in a React application, ideally every 28 minutes. However, I've encountered an obstacle with setInterval as it seems to pause ...
Kerem Esen's user avatar
0 votes
0 answers
16 views

Timing issue while looping over the testing tool command line process

I developed a automation script in python for the testing tool. I created a command line process to execute the test using the tool in the windows system. I'm iterating with for loop using the command ...
vinoth aravind's user avatar
-2 votes
1 answer
64 views

Check If Computer On Network Is Asleep Without Waking It Up (Python)

I want a quick way to check if a computer on the LAN is awake or not given its IP address (on Windows) without waking it up. I wrote the following, which works: def is_awake(ipOrName, timeout=0.05): ...
EllipticalInitial's user avatar
0 votes
0 answers
39 views

Mac slowing down / working in burst mode at night (while running Python script)

This question concerns a MacBook Pro 2021, MacOS 13.6.3. I am running a python script that reads data from a file on the hard disc, makes a 8192*8192 matrix, finds its eigenvalues and saves some of ...
jms547's user avatar
  • 263
0 votes
1 answer
40 views

Psoc Cypress Capsense to Wake Up Sleep Mode

I want to use sleep mode because of the power consumption of the MCU. My aim is basic, but I can not use the process. I want to use Capsense to wake up my Psoc from sleep mode but ı do not have any ...
ElectronicsFuns's user avatar
0 votes
0 answers
71 views

"Communication link failure" using mysql.jdbc after my device goes to sleep mode

I spent several days trying to resolve an error "communication link failure" that arises exclusively after my device enters sleep mode. The error manifests when I perform an action in my app ...
Le Timo''s user avatar
0 votes
1 answer
355 views

How can I use STM32 sleep mode with UART

I want to use sleep mode because of the power consumption of the MCU. My aim is basic, but I can not use the process. I will get data from another MCU via UART. If one of my data is 6, I want to wake-...
ElectronicsFuns's user avatar
-1 votes
1 answer
92 views

Is there a way to make ESP32 or ESP8266 wake up from sleep using code?

Good morning everyone, I know that waking up an ESP32 or ESP8266 can be done either by setting the RTC timer or by an external event which can be generally pushing a button. My question is can an ...
youcef GUENFAF's user avatar
0 votes
2 answers
125 views

WFI in a loop prevents debugger to attach

I'm learning STM32F103 MCU and I'm trying to implement "blink led" program with bare metal and systick timer. Here's what I've came up with: #include <stdint.h> static void ...
vbezhenar's user avatar
  • 12k
0 votes
0 answers
78 views

USB dongle for remote control doesn't wake up

A bit stumped on this one, hoping any of you fine people can assist... I have a 2.4g remote control with a USB dongle that I'd like to use on a Raspberry Pi Zero 2 W running Raspbian Lite 32bit. When ...
PepsiMax's user avatar

15 30 50 per page
1
2 3 4 5
15