Questions tagged [power-management]

The process by which some operating systems will attempt to conserve energy.

May include spinning down disks or fans during idle time. May also effect monitors and entire systems.

Power management system usually implement selectable policies such as conservative or performance.

Primarily relevant to laptops where battery life is an issue though may also refer to turning off monitors to avoid screen burn-in.

See also hibernate and sleep.

464 questions
15
votes
6 answers

Controlling simple relay switch via USB

I'm looking to control a mains powered light from a simple relay switch connected via USB to the computer. The relay switch isn't even a USB device, it's just a simple switch that requires the USB voltage to turn it on. When the voltage drops below…
Matt
  • 10,197
  • 24
  • 77
  • 109
15
votes
2 answers

Understanding the Android "Radio State Machine" for better battery life

On the Android documentation page Optimizing Downloads for Efficient Network Access, the gist is that "waking up the radio is bad", "batch your transfers" or "piggyback on GCM". That article leaves some inner working principles for the curious: It…
kizzx2
  • 17,547
  • 14
  • 72
  • 81
14
votes
2 answers

Android battery usage report for developers

On Gingerbread users can report apps for their battery usage, by going to Settings -> About phone -> Battery use, and then tap on a specific app. My question is, as a developer where can I see these reports? They seem very useful because they…
Erdal
  • 1,462
  • 3
  • 16
  • 33
14
votes
2 answers

Can I get a notification whenever the user interacts with an Android device?

Is it possible in Android API level 15 to receive a notification whenever the user does anything that keeps the device awake - in effect, whenever PowerManager.userActivity() is called? (Bit of background: I'm working on a large Android app for a…
Mark Whitaker
  • 8,049
  • 8
  • 44
  • 66
14
votes
2 answers

MacOSX 10.8.2: How to clear unwanted power-management assertions?

There are some programs that run under MacOSX Mountain Lion which are now (since installing 10.8.2) causing unwanted power-management assertions to be set. I'm looking for a way to clear assertions like these. Here's one example: one or more of…
HippoMan
  • 161
  • 1
  • 1
  • 6
13
votes
2 answers

how to measure and improve battery use in iPhone/iPad game (Android also)

My game uses too much battery. I don't know exactly how much it uses as compared to comparable games, but it uses too much. Players complain that it uses a lot, and a number of them note that it makes their device "run hot". I'm just starting to…
M Katz
  • 4,604
  • 3
  • 36
  • 59
11
votes
1 answer

How to read the number of battery charges?

as mentioned above, I want to get the total number of battery chrarges. The batery Intent I'm already using only shows me Level, Voltage, Temperature ... but not the total loading cycles.
Tobias
  • 6,533
  • 5
  • 59
  • 82
11
votes
3 answers

Off screen rendering when laptop shuts screen down?

I have a lengthy number-crunching process which takes advantage of quite abit of OpenGL off-screen rendering. It all works well but when I leave it to work on its own while I go make a sandwich I would usually find that it crashed while I was…
shoosh
  • 70,450
  • 50
  • 199
  • 310
10
votes
1 answer

Is memory latency affected by CPU frequency? Is it a result of memory power management by the memory controller?

I basically need some help to explain/confirm some experimental results. Basic Theory A common idea expressed in papers on DVFS is that execution times have on-chip and off-chip components. On-chip components of execution time scale linearly with…
10
votes
10 answers

How can I programmatically stop a notebook battery from charging

There is some easily available information on finding the status of a battery, or weather it's charging or not. (GetSystemPowerStatus API or System.Windows.Forms.SystemInformation.PowerStatus). I want to be able to stop a battery from charging based…
Marcel
  • 6,051
  • 5
  • 19
  • 25
9
votes
1 answer

C#: How to prevent a laptop from going into Stand-By

How can I do this in a C# program? I'm pretty sure it should be possible, since various media programs for example do this so the computer doesn't go into stand-by while watching a movie, etc. So, if I for example create a plain and basic WinForm…
Svish
  • 138,188
  • 158
  • 423
  • 589
9
votes
1 answer

how to hook to events / messages in windows using python

in short: i want to intercept suspend/standby messages on my laptop, but my program doesn't receives all relevant messages. background: there's a bug in ms-excel on windows xp/2k, which prevents system suspend if a file is opened on a network/usb…
Berry Tsakala
  • 11,390
  • 11
  • 52
  • 71
9
votes
3 answers

What CPU instructions use the most power?

The background is thus: next week our office will have one day with no heating, due to maintenance. Outdoor temperature is expected between 7 and 12 degrees Celcius, so it might become chilly. The portable electric heaters are too few to cater for…
Macke
  • 22,774
  • 6
  • 76
  • 108
8
votes
1 answer

Android accelerometer, sensor usage and power consumption

I have a quick question about the accelerometer in Android devices. Is it always on/active? Given that accelerometer is used to detect the orientation of the device, either landscape or portrait. In the official documentation (SensorManager) it…
8
votes
2 answers

Battery use, what to expect?

I'm making a 2D game for Android, and I've recently been looking at optimization. I looked at the battery-use in Settings and found that after leaving my game in the foreground (with the screen on) for a little over an hour, I had drained 11% of…
Jack
  • 2,485
  • 5
  • 30
  • 53
1
2
3
30 31