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
2
votes
3 answers

Wifi just goes into IDLE

I have written some software which uses Wifi as a possible internet-connection medium.. I did notice though, that after some time (I am guessing around the 15-20 minutes) after the device has gone into power save mode (anyways when the screen has…
TiGer
  • 5,879
  • 6
  • 35
  • 36
2
votes
1 answer

Stop Core Location updates then restart them with a timer

I was wondering if anyone could point me to (or paste in) some code to deal with turning off Core Location updates to save power. As far as I understand it, you should stop Core Location updates as soon as you get a reading of desired accuracy. If…
nevan king
  • 112,709
  • 45
  • 203
  • 241
2
votes
1 answer

iOS Significant Location Monitoring Only Monitors WiFi?

Ok, I'm not sure if this question has been asked in specific, though I did do some searching first and nothing came up. I was reading the docs about Significant Location Monitoring, and came across this: The significant-change location service…
1
vote
1 answer

How to reset system idle timer in Windows 11 (SetThreadExecutionState(ES_SYSTEM_REQUIRED) doesn't work)

Earlier, when we call SetThreadExecutionState(ES_SYSTEM_REQUIRED) without ES_CONTINUOUS, it reset the system idle timer. But in Windows 11, that doesn't work anymore. I need the reset the idle timer, and I wonder, how can I do it now?
Anton111111
  • 656
  • 1
  • 7
  • 23
1
vote
0 answers

PhpStorm: excluding drives from "open file or project" dialog

I'm having several external USB drives connected to my PC (which are not required for my work with PhpStorm) and I'm wondering: is it possible to exclude drives from the "open file or project" dialog? The problem is, these drives are going into…
Fuxi
  • 7,611
  • 25
  • 93
  • 139
1
vote
0 answers

How to change the cpu scaling_governor value via udev at the booting time

everyone. I’m tring to use udev to set my cpu's scaling_governor value from powersave to performance. And here is my udev rule file: [root@node1 ~]$ cat /etc/udev/rules.d/50-scaling-governor.rules SUBSYSTEM=="cpu", KERNEL=="cpu[0-9]|cpu[0-9][0-9]",…
Phoenix Chao
  • 390
  • 3
  • 19
1
vote
0 answers

Adding my flutter app to ultra power saving mode in android

Is there a way I can allow my app to be added to the default ultra power saving mode in android? If not, can I get permission from the user? Adding REQUEST_IGNORE_BATTERY_OPTIMIZATIONS to my AndroidManifest file doesn't seem to work.
Cyber
  • 80
  • 1
  • 5
1
vote
1 answer

Is Vulkan suitable for software that uses the least possible resources?

I am writing a status bar that should take as little resources as possible i.e. should save power and does not steal cpu-/io-/gpu-time from more important processes and keep memory usage at an acceptable level. I expect the bar to mainly render…
Natrix
  • 113
  • 6
1
vote
0 answers

How can I detect if iOS & Android are in Powersave mode and add a CSS class to the body?

Background videos do not work on mobile devices with Powersaving mode active. I want to detect when the page is running on a device with Powersaving active and add a Body Class so I can hide doing what I want via CSS. How can we not hide this PLAY…
1
vote
1 answer

How can we get the iPhone screen to stay active, instead of going into the power saving mode?

I am working on a simple game that requires UIAccelerometer without any screen tapping interaction. In the default mode, the screen goes into a power saving mode periodically. How can I make the screen to stay active throughout the entire time what…
Winston Chen
  • 6,799
  • 12
  • 52
  • 81
1
vote
0 answers

Power consumption in Raspberry pi zero w

I am using Raspberry Pi zero w for my project which is going to be operated on 2600mah battery. Pi is interfaced with CSI camera, Telit GPS, ADC. Also configured Pi as Access Point and BLE peripheral. All these things are controlled through BLE…
fw08
  • 124
  • 9
1
vote
0 answers

How To Check Low Battery Mode Setting While App Is In Background

My app has functionality that works while the device is in the background. I've come across a problem where I need to change functionality if the user turns off/on Low Power Mode, but I'm not sure how to do this if the app is in the background. Is…
1
vote
1 answer

Hot to auto-start an Azure Virtual Machine on public IP access?

On Azure, it seems possible to Auto-stop your VM based on CPU utilization For this to be effectively used for cost-saving, I need the VM to be auto-started on the next access to its public IP address. This is a server which gets only a few hours of…
gatopeich
  • 3,287
  • 31
  • 26
1
vote
0 answers

How to get started developing an app that changes all the colors of the device to black and white (like a filter)

How can start develop an android app that changes all the colors of the device to black and white (after asking for confirmation and provide a way to return to normal mode) If you are familiar with the Ultra Power Saving mode of some Samsung…
Mauricio Gracia Gutierrez
  • 10,288
  • 6
  • 68
  • 99
1
vote
0 answers

Webview not play audio, microphone when power save and turn off screen

My app using WebRTC to phone call, so I used webview to load sipjs connect to server make phone call sucessful. But it have a bug: Making phone call in power save and turn off screen, webview not play audio from server and not have audio from…