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

how to meter power(watt) of PC components(cpu,memory,disk,etc) in real time?

As the question says ,I want to monitor the value of power(watts) that some components consumption .especially the value of CPU , Memory and disk . when I use aida64,I found that in computer/sensor ,there are some data about power consumption . I…
0
votes
2 answers

How to use powerHint in an android application?

I'm working on power optimization. Is it possible to call powerHint in PowerManagerService from an application? How can I call it? Is there any way to call the method via below pm? PowerManager pm = (PowerManager)…
0
votes
0 answers

How to find out what caused a power mode change

VB.NET has an event that fires when a computer's power mode is changed (SystemEvents.PowerModeChanged). I need my program to find out what caused the power mode change, specifically, if there was a power button pressed, or some other reason. How can…
0
votes
1 answer

When should I care about PowerManagement and wake locks for Android service?

I have an android service that connects to remote server by TCP/IP and waits for notifications from it. Should I care about PowerManagement? Can sleep mode affect me some how? If no, than what are the "use cases" to care about wake locks?
alex2k8
  • 42,496
  • 57
  • 170
  • 221
0
votes
1 answer

Putting arduino to sleep due to depleting battery power

I have built a data-logging functionality using sd card and ds-1307. T continuously record temperature data. However since this functionality is powered by battery, I intend to monitor for the battery power and put the circuit to sleep for an…
0
votes
1 answer

Can't power-down USB device

Here's my problem: mint power # uname -a Linux mint 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux mint power # pwd /sys/bus/usb/devices/usb5/5-2/power mint power # cat autosuspend autosuspend_delay_ms…
Steve175
  • 39
  • 1
  • 4
0
votes
1 answer

what is clean state in L2 cache?

In ARM architecture while reading the CPU shutdown sequence I found these steps: save per CPU peripherals (IC, VFP, PMU) save CPU registers clean L1 D-cache clean state from L2 disable L1 D-cache allocation clean L1 D-cache exit coherency call WFI…
Saurabh Sengar
  • 878
  • 2
  • 12
  • 20
0
votes
1 answer

Off screen when the application works

I am making an application that works based on volume button press, when application is on foreground it detects volume up button pressing and do something. it does not requires to keep the screen on while pressing the button. Is there any way to do…
programr
  • 25
  • 8
0
votes
0 answers

PowerReadFriendlyName reports false buffer length

I'm making a C# program that retrieves the name of a power management scheme from it's GUID by PInvoking the Win32 function PowerReadFriendlyName. However, the function seems to report false buffer length. Guid id = new…
osvein
  • 625
  • 2
  • 10
  • 31
0
votes
3 answers

WM_POWERBROADCAST handler for CMainDlg in ATL app not invoked

I have an ATL app where I want to handle WM_POWERBROADCAST. I have a CMainDlg (CAxDialogImpl) in whose MSG_MAP I defined the handler. BEGIN_MSG_MAP(CMainDlg) ... MESSAGE_HANDLER(WM_POWERBROADCAST, OnPowerChange) …
psychotik
  • 38,153
  • 34
  • 100
  • 135
0
votes
2 answers

Hyper-V, VMware ESX and custom power management

In a research project involving virtualization and power management I am testing various resource allocation scenarios and custom power management algorithms. I am interested in isolating a virtual machine to use only a certain CPU core. I was…
kjv
  • 11,047
  • 34
  • 101
  • 140
0
votes
1 answer

Keep app alive working

I'm developing a motion detection app. This app uses the camera to compare continuosly taken frames to detect movement. So, I need the app to stay working and not being paused or stoped. I'm using WakeLock to achieve this, but I'm seeing in the…
masmic
  • 3,526
  • 11
  • 52
  • 105
0
votes
1 answer

Is Windows Power Management User Specific?

I'm working with windows power management APIs (PowrProf.dll P/Invokes) in C# to get and set power management settings of the system, but I'm not sure if the power management settings are user-specific or machine-specific :( The flow for Windows XP…
Arashv
  • 305
  • 4
  • 15
0
votes
1 answer

What is the android standard or benchmark for battery drain by an application?

I was working on my phone-book application and recorded battery drain for 1 hour. It drained to 5 % for 1 hour. I wanted to know what is the android standard or what is the android benchmark for battery drain for specific time of an application.
Shashank
  • 3
  • 2
0
votes
1 answer

Accurate benchmark of battery usage of Android application

I am trying to benchmark the battery/CPU usage of an Android application I have developed vs the battery usage of another third party application. The applications almost perform the same type of tasks, so I am trying to measure the efficiency of…
RagHaven
  • 4,156
  • 21
  • 72
  • 113