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.

473 questions
0
votes
1 answer

Android ,calculate power per instruction?

how does the .dex file instructions get executed on a processor & how can i access the instructions that executed on ARM processor. i heard that the instruction in android executed in blocks & after that how can i calculate the power per…
0
votes
1 answer

Monitor status query in c#

I am looking for a way to check the monitor status in C# (.net framework 4.5, win8.1). (I know impossible to check, the user turn off the monitor manually, I do not want this. I want to check the system(the screen saver) turned it off, or not...) I…
Krisz
  • 701
  • 7
  • 23
0
votes
0 answers

Why is cat giving me "invalid argument"?

I'm trying to write an Android app that gathers usage statistics of the device (just to learn about Android development, and how things work, I'm pretty new). What I'm trying to get right now is the frequency of the cores of my device (it has 4…
Kmanc
  • 349
  • 1
  • 5
  • 20
0
votes
1 answer

PowerManager and PARTIAL_WAKE_LOCK

My app works fine when the device is plugged in the power supply whereas it fails (time to time) when the device is unplugged. I think that the piece of code responsible of this issue is as follows: PowerManager pm = (PowerManager)…
user2923045
  • 369
  • 2
  • 6
  • 16
0
votes
1 answer

Detect power button push on a laptop

I'm writing Windows service application using WinAPIs and C++, and I'm curious if it's possible to detect when a user pushes the physical power button on the laptop/notebook?
c00000fd
  • 20,994
  • 29
  • 177
  • 400
0
votes
2 answers

Power buttons and lid sleep customization

As far as I know there're only sleep/hibernate and shut-down options available in the Windows Control Panel in reaction to the power button and laptop lid closing: I write a Windows service and I'm curious if I can customize those options?…
ahmd0
  • 16,633
  • 33
  • 137
  • 233
0
votes
1 answer

Determine if power/usb cable is plugged in Android device

I need to determine whether the power cable (usb cable) is plugged in. The solutions on SO all use a broadcast receiver to receive a power change event. The problem with this approach is that the cable may already be plugged in before my receiver…
Johann
  • 27,536
  • 39
  • 165
  • 279
0
votes
2 answers

iOS Background location mode not working when auto lock happens

I have a problem with application. I'm new in iOS and objective c. I worked on background location app. Everything is good until auto lock happens or user presses power button. Then app is running for about 5 to 8-9 minutes and after that it stops…
Jovan
  • 1,741
  • 4
  • 19
  • 38
0
votes
1 answer

Trying to understand Windows power configuration APIs

Can someone explain what is the difference between PowerReadDCValue, PowerReadDCValueIndex, and PowerReadDCDefaultIndex? I'm mainly concerned about "what is index"? And "what is default index"?
ahmd0
  • 16,633
  • 33
  • 137
  • 233
0
votes
1 answer

Is disabling wake timers supported under Windows XP?

Just curious, can someone confirm if disabling/enabling of wake timers is supported by Windows XP/Server 2003? (I'm obviously talking about programmatic support.) This stuff:
ahmd0
  • 16,633
  • 33
  • 137
  • 233
0
votes
1 answer

what is the low power Consumption java card

Hi I am new to java card development.so i want to build application which encrypt data coming from the Mobile device(mobile phone) as NFC technology and send back to the device.i couldn't found any related document about java card power…
Need
  • 97
  • 1
  • 11
0
votes
0 answers

Wake Lock error when change activity

Wake Lock works fine in the first activity but when the user press the button for change activity the app crash...Why? I used wl.release(); Also i used permission WakeLock in the manifest.Also i had registered the activity 2 in the manifest. private…
user2342687
  • 227
  • 1
  • 6
  • 17
0
votes
1 answer

Cache miss in an Out of order processor

Imagine an application is running on an Out of order processor and it has a lot of last level cache(LLC) misses (more than 70%). Do you think that if we decrease the frequency of the processor and set it to a smaller value then the execution time of…
0
votes
1 answer

Controlling screen brightness programmatically on Windows Mobile 6.1

We have an HTC handset running Windows Mobile 6.1. Is there a way to increase/decrease screen brightness for this device programmatically? The application is being developed in C#, so a .NET wrapper would be preferable, but an unmanaged API would…
Zaheer
  • 374
  • 4
  • 20
0
votes
1 answer

BAT file to change power settings run Minecraft then change power settings back

I have been trying to create a batch file that will set the laptop to high power setting run minecraft, then when minecraft closes to set power settings to power saver mode. I am trying to launch the minecraft installed with my techniclauncher, …