Questions tagged [power-saving]

For questions about optimising apps to save mobile power, or to manage the inbuilt power saving features within a device for an application. Needs to be used with relevant technology tags e.g. android Not to focus on the device end, but the application end of the technology.

For questions about optimising apps to save mobile power, or to manage the inbuilt power saving features within a device for an application. Needs to be used with relevant technology tags e.g. android.
Not to focus on the device end, but the application end of the technology.

72 questions
1
vote
0 answers

Never receive FCM notification if the phone was in energy saving mode at the time it was sent

I am developing an Android app whose main use is to be notified instantly of certain events. I have a Huawei phone. The app works well with FCM I receive notifications in foreground and background, from FCM console and also from my server (PHP code)…
1
vote
1 answer

Is it possible to an app that listens to the Windows audio input to let the system save power?

From the moment we call Win API's WaveInOpen method the system won't sleep nor hibernate until this stream is closed. Is there any workaround for this?
Jader Dias
  • 88,211
  • 155
  • 421
  • 625
1
vote
0 answers

Power save mode Android Lollipop

Is there any way (with root or not) to enable or disable programmatically the android lollipop power save mode? I can't find any documentation about it.
greywolf82
  • 21,813
  • 18
  • 54
  • 108
1
vote
0 answers

emacs 24.4.1 cannot create frame when monitor is off

I used version 24.3.1 before. Some my script run emacsclient -c by the schedule when monitor is off to save power: everything was ok. But there is a problem with new version 24.4.1 - emacs freezes until the monitor is on (by keboard or mouse) and…
artscan
  • 2,340
  • 15
  • 26
1
vote
0 answers

Disabling Windows Graphical Features

I'm currently writing a system tool for devices, such as laptops and tablets, that will activate (or deactivate) certain features within the Windows OS dependent on the current power level, and estimated time remaining. However, I'm unable to find…
Liam Kelly
  • 231
  • 3
  • 15
1
vote
1 answer

How do i check if my Extension is in Power Save Mode?

I want to disable the back action key when my smart extension is in Power Save Mode, that means the display is dimmed after several seconds but the control extension remains on. When it is not in Power Save Mode the back action key should work…
alex567
  • 13
  • 2
1
vote
1 answer

Power saving mode in Android controlled programmatically?

Is it possible to turn ON/OFF power saving mode from code? For the time being, I do wakelock acquire and release, but I assume, that is not the same.
MartinC
  • 546
  • 11
  • 26
0
votes
1 answer

How to run android app during powersave mode

I am trying to run an app while it is in power saver mode, does anyone have any insight on this?
Makar Emelyanov
  • 167
  • 5
  • 16
0
votes
1 answer

SetThreadExecutionState with just ES_CONTINUOUS don't enable sleep on Windows 11

I call SetThreadExecutionState(ES_SYSTEM_REQUIRED | ES_CONTINUOUS) and my PC doesn't sleep while a task is working. It's what I want. When the task has finished, I call SetThreadExecutionState(ES_CONTINUOUS), and thought that the PC would be able to…
Anton111111
  • 656
  • 1
  • 7
  • 23
0
votes
1 answer

Block X events when DPMS is active

I am trying to block the function XNextEvent from returning when DPMS is actively blanking the screen, so that I do not receive keyboard or mouse inputs while my screen is black. I want to block the function from returning entirely, because I have…
agregate
  • 163
  • 6
0
votes
0 answers

How can I prevent Windows OS from entering any energy saving mode while my Java application runs?

I wrote a small application that is mostly listening to a message feed on a TCP connection. This application suffers from a connection drop (and so missing important messages) whenever the PC goes into energy saving mode - not sure what level, but…
Kai
  • 2,145
  • 1
  • 20
  • 35
0
votes
1 answer

Canvas fullscreen on mobile devices causes power down

How can i make a Canvas Element fullscreen and bypass the power saving feature of the mobile device. My canvas is playing a video but the mobile phone go's into power saving mode after a few seconds. Is there some setting somewhere? this is my…
David Clews
  • 795
  • 6
  • 14
0
votes
0 answers

Can I prevent a Windows computer from going to sleep under certain conditions?

I have a Windows 10 computer that's typically used for rendering. It is therefore vital that the computer does not go into any kind of power-saving mode while either the CPUs or GPU is running at high capacity, regardless of user input (i.e. over…
Ef Em
  • 1
0
votes
0 answers

How to detect hibernate/power saving key was pressed C#

i have a keyboard(CHERRY KC 1000), it has some multimedia keys like calculator, mail, browser and a powersaving/hibernating key (it depends which setting is made in energysaving settings in windows. Now i want to write a small app to bring some…
Cezary88
  • 23
  • 7
0
votes
1 answer

Programmatically load battery saver screen on Samsung J3

I want to load battery saver menu from an activity programmatically on Samsung J3 device with android lollipop. I have tried the following snippet: Intent intent=new Intent(Settings.ACTION_BATTERY_SAVER_SETTINGS); startActivity(intent); but it…
Sabid Habib
  • 419
  • 1
  • 4
  • 16