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

Display turns on programmatically android

I am developing an application in which i have to show the pop up after an hour till my device goes in sleep mode I am using this code but not working: window.addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED …
0
votes
1 answer

How can I prevent apps from going into sleep mode in Delphi XE8

I have a multi device Firemonkey project in Delphi XE8 which I use to make iOS and Android apps. If I am running my apps on the devices they sometimes go to sleep if I didn't touch the screen but the app is still loading stuff. So how can I stop the…
Remi
  • 1,289
  • 1
  • 18
  • 52
0
votes
2 answers

Lua script pc to sleep

So i got a new keyboard wit hG-keys. (hotkeys) And i'm not familiar with lua... So could anybody give me a very simple command that sets my pc to sleep? please? if gkey == 7 and mkey == 1 then if event == "G_PRESSED" then end end gkeys so…
T. Wich
  • 15
  • 5
0
votes
1 answer

Device - Sleep Mode issue

Mobile in sleep mode: Generally 5-10 min after the screen power turned off Mobile is awake: as soon as the screen power is turned on Mobile:Micromax A064 Android Version: 4.4.2 When the mobile is in sleep mode, I stop receiving GCM Push…
user3616287
  • 145
  • 1
  • 1
  • 11
0
votes
0 answers

Location update in background in android

i build app which give Location update to server in background using service and broadcastreceiver.i put timer(Run every X Minute) which run method of location.it include fatch lattitude,longitude and update to server with API Call. I have a problem…
RushDroid
  • 1,570
  • 3
  • 21
  • 46
0
votes
1 answer

Does android kill custome home launcher app when device goes to sleep

I'm making a Kiosk app. I set my app as default launcher. The app works automatically every day from 8:00 AM to 11:00 PM then go to sleep until next 8:00 AM. I wonder would android kill my suspended app when device goes to sleep? if OK, How should I…
0
votes
1 answer

TelosB GPIO interrupts in Contiki

Does anyone has a simple example where it shows how external interrupts can be handle on TelosB using Contiki. For eg, when a button is pressed then the MSP430 micro-controller wakes up from the deep sleep mode, it does some stuffs and then…
raj
  • 153
  • 1
  • 1
  • 8
0
votes
1 answer

Android waking up from sleep mode causes ClientProtocolException for http calls

When the device goes into "sleep" or power saving mode (screen goes black) when you hit the power button to restore the screen, all looks well and functions. However when I attempt to do any HTTP calls (using DefaultHttpClient) I get…
0
votes
1 answer

Prevent Shutdown and replace it by Sleep

As a network admin, i try to keep all my computers in Sleep state during weeks (instead of shutdown) because i can then schedule a task to wake up the computers and so maintain/check them without any need to move physicaly to the other places. But…
user3916429
  • 562
  • 6
  • 25
0
votes
1 answer

Programmatically put an iOS device to sleep

I was wondering if there was a way to programmatically put an iDevice to sleep, for my jailbreak tweak. I would also like to test if iphone is on too. Is there any way (public or private API) that could do this? Even simulating the press would be…
0
votes
2 answers

Prevent my android app starts automatically when the device/screen is sleeping/locked

The problem is that if my app is running and the device (screen) is locked, the app is restarted while the device is locked (I know because I can hear the sound of my app at startup). [Edit] This seems very complicated. I think it would be easier to…
txuy
  • 65
  • 7
0
votes
1 answer

ATmega: wake up ATmega with external RTC

I'm working on a data logger which should safe as much as possible battery life. Therefore the logger (the chip ATmega 328P) is put to sleep and everything work just fine. Now I want to extend the setup with an RTC module (DS3231) to have the time…
JFS
  • 2,992
  • 3
  • 37
  • 48
0
votes
1 answer

How to invoke an android device from sleep?

In my application I have to enable the device 5 seconds after falling to sleepmode. I have tried different methods like PowerManager powerManager = (PowerManager) getSystemService(POWER_SERVICE); WakeLock wakeLock =…
svs
  • 377
  • 9
  • 21
0
votes
1 answer

Android : application not usable after the device goes idle

We have released an application recently and few of the users are reporting that the application is not usable after the device goes idle when the app is in open state. We have done R & D on this issue and we have even called super.onResume() on…
Princess
  • 63
  • 8
-1
votes
1 answer

Can a BLE device wake up an app in sleep mode (background mode) by sending data to it?

I am planning to develop a wearable device and an app (IOS, android). The wearable device is paired with the app via BLE(bluetooth low energy) and will notify to the app through BLE notify characteristic when certain conditions are met. The app will…
1 2 3
13
14