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

How do I make my android app appear in Ultra Power Saving Mode

Some samsung devices have an Ultra Power Saving Mode which turns off wifi, turns the screen grayscale and limits usage to a few basic apps. It however does allow you to add some apps which can then be used. These apps include Facebook and WhatsApp. …
abel
  • 2,377
  • 9
  • 39
  • 62
18
votes
4 answers

How to do power save on a ARM-based Embedded Linux system?

I plan to develop a nice little application that will run on an arm-based embedded Linux platform; however, since that platform will be battery-powered, I'm searching for relevant information on how to handle power save. It is kind of important to…
Johan
  • 20,067
  • 28
  • 92
  • 110
16
votes
1 answer

Disabling or detecting the app specific power saving mode

Samsung devices (well, at least some of them) add all installed apps to an "App Power Saving Mode" list which affects the background services listening to some crucial info for the app. Some apps, somehow, disable this mode after installation…
iamkaan
  • 1,495
  • 2
  • 23
  • 43
13
votes
2 answers

Why is the p-state status MSR on ryzen not changing?

I am trying to detect the current p-state of my cpu. I have noticed that the p-state status MSR (C001_0063) always returns 2 on my ryzen 1700x system, even if the core is clearly not in that state. I think it used to work with the initial bios…
Jester
  • 56,577
  • 4
  • 81
  • 125
13
votes
1 answer

How to check if the Battery Saver Mode is enabled on Android < 5.0?

As I know, there are some devices with version < 5.0 that have the Power Saver option. An answer provided in this similar question is not correct and doesn't explain anything. On Android 5.0+ we can use this script here: PowerManager powerManager =…
user6367252
13
votes
6 answers

Turn off power saving options via command line

On Windows XP, the following command in a script will prevent any power saving options from being enabled on the PC (monitor sleep, HD sleep, etc.). This is useful for kiosk applications. powercfg.exe /setactive presentation What is the equivalent…
Nick
  • 13,238
  • 17
  • 64
  • 100
11
votes
1 answer

Avoid app throttling when Electron is in background

Consider the following example: setInterval(function() { console.log(new Date()); }); If I run it with electron example.js under OS X, it opens up an icon in my dockbar and starts printing out the time on the console. If the app is not focused,…
Matteo Monti
  • 8,362
  • 19
  • 68
  • 114
9
votes
2 answers

How to detect disassociation by AP reboot within station in PS mode

I'm writing a fairly low-level driver for a wireless card, and while most of the spec is fairly straightforward, I haven't wrapped my head around a single question yet: If my station is in power-save mode and its receiver is turned off for an…
Simon Richter
  • 28,572
  • 1
  • 42
  • 64
9
votes
2 answers

CLLocationManager running in background & power saving

I am working on an iOS tracer. It must run and receive locations even if the app is not in foreground, i.e. I use the background mode "Location updates". However, it would be fine to safe battery if possible. Especially, there is no need to receive…
Cimlman
  • 3,404
  • 5
  • 25
  • 35
7
votes
1 answer

How can I force the monitor into power saving mode immediately in C#?

I have two monitors (HP EliteDisplay E190i), both are connected to two computers (2x VGA + DP). These monitors also support DVI, so instead of having a stupid toggle button, every time I wish to change between computers I have to navigate through…
Adi Gerber
  • 636
  • 7
  • 22
5
votes
2 answers

Prevent tablet from sleeping while app is running

I'm trying to write a Windows 8 tablet app that often can go multiple minutes between receiving input. The problem is, that if i don't keep touching the screen, the power saver will activate, and the screen will automatically go black, and it…
4
votes
1 answer

How does idle(halt) state different then sleep state in Processor states?

As there are 4 processor state C0-C4. but i'm not getting a difference between idle state and sleep state? will idle state maintain a cache coherent? will sleep state maintain a cache coherent? And what is stop-clock? I am asking all these…
Sumit Gemini
  • 1,836
  • 1
  • 15
  • 19
4
votes
0 answers

How to find the intent name to start App Power Saving Mode settings activity?

I have an Android alarm clock app. It is allowed to ring in Doze mode and is not effected by Android App Optimization because it uses AlarmManager.setAlarmClock(). It is rock solid reliable EXCEPT for Samsung phones - they have App Power Saving…
user1908060
  • 683
  • 1
  • 6
  • 8
4
votes
1 answer

Determine when app comes out of idle mode in Android M

Android M has a new feature called App Standby where an app is put into an idle state when it's not being utilized (see docs) and, among other things, its network access is disabled. I can't seem to figure out a way to determine when the app goes…
Reuben Tanner
  • 5,229
  • 3
  • 31
  • 46
4
votes
2 answers

Why might my android app occasionally drain battery extremely fast?

Several users of my app have reported their battery draining at around 1% a minute with my app running in the background. I have been unable to replicate this issue even when using the same account credentials on the same device model that the user…
rhnoble
  • 559
  • 4
  • 12
1
2 3 4 5