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 do I run an app using the power button

I have been around browsing tutorials for android power button mods, I have a couple of questions in this regard Those being: How do I set a specific timer to make my app run after the button as been depressed for say 5 seconds. How do I make my…
a.kollar
  • 43
  • 6
0
votes
2 answers

How to disable screensaver, sleep, lock, hibernate on windows 7 or using vb.net 2010

I don't have any idea if it is possible and how can I code it. I have created an application that needs to run on a non-administrator account on windows 7. It won't run if the PC goes sleep/ locked/ hibernate/ on-screensaver. So, I want to disable…
Kris Edison
  • 109
  • 1
  • 4
  • 12
0
votes
2 answers

AddProximityAlert power consumption on Android

I am developing a GeoFencing Android App that notifies user whenever they are close to a certain region (similar to Start Monitoring for Region in iOS). I know I can use AddProximityAlert in Android but I am concern about the power consumption as I…
AlAsiri
  • 717
  • 7
  • 19
0
votes
2 answers

How do I get notification of the battery power level from the Windows kernel?

I need to write code in C that will indicate and notify me when the laptop battery power is low. I know that I can use the following: BOOL WINAPI GetSystemPowerStatus( __out LPSYSTEM_POWER_STATUS lpSystemPowerStatus ); But I want to send…
user1386966
  • 3,302
  • 13
  • 43
  • 72
0
votes
1 answer

In android, why my service doesn't go to sleep after pushes the power button

I have created an app which will start a service. In my service, I created a timer that will do something periodically. I didn't use any wakelock. After I press the power button and wait for sometime, it seems that my service still keeps printing…
Hao Shen
  • 2,605
  • 3
  • 37
  • 68
0
votes
1 answer

Communication between Android devices

I'm looking for a way to allow a device to send secure notifications to another device with minimal battery loss. I am currently doing this using a SSLServerSocket however I feel like keeping a socket constantly open is very poor for battery life.…
programit
  • 119
  • 4
0
votes
1 answer

Battery Widget does not update

After failing at creating a battery widget, I tried again using a different technique. After browsing and researching, I decided to use a service and a broadcast receiever inside my AppWidgetProvider class. My battery value is always null and never…
Mich
  • 105
  • 1
  • 2
  • 9
0
votes
1 answer

How quickly will Android go to sleep if I stop background service

How quickly does Android go to sleep after wakelock is released? I am working on an app which uses the accelerometer in the background, and because of its high power consumption I am investigating how best to allow the device to go to sleep, at…
simekadam
  • 7,334
  • 11
  • 56
  • 79
0
votes
1 answer

iPhone : How do I display the user location on a map view without updating location / having GPS running in the background?

how do I display the user location in a mapView while not running GPS to update the location (at all)? Will mapView.userTrackingMode = kCLLocationAccuracyNearestTenMeters; do the job or will GPS still burn battery in the background? Thanks :)
pasql
  • 3,815
  • 5
  • 23
  • 33
0
votes
1 answer

Android Battery widget updates sometimes

I am trying to make an Android battery widget. The problem is that sometimes it updates, but sometimes it doesn't. I would have to restart my phone for it to work again – or delete it from the screen and create it on the screen again. What could my…
Mich
  • 105
  • 1
  • 2
  • 9
0
votes
1 answer

GPS arrow could not disappear at iPhone's status bar in our released app version

We developed an app which uses the GPS service of iOS 4.0+. Once you leave our app, such as when you return to the iPhone home screen or shift to other app, the GPS would be updated in every 10 mins at background for our app. In our development…
tech_me
  • 540
  • 2
  • 7
  • 20
0
votes
2 answers

Android - online vs offline parsing - Battery

I need to do the following: - Take a text file. - Read the first word of each line and count each kind using a hashmap. - Make the result reach a server. My question is, what do you think is more battery efficient? Parsing the file on the…
gatti
  • 1,083
  • 1
  • 11
  • 25
-1
votes
1 answer

"noirq suspend" in the linux kernel

What does noirq suspend mean in the context of the linux kernel ?I've come across this log in the output of dmesg : PM: noirq suspend of devices failed Any ideas ?
Parsa Mousavi
  • 1,052
  • 1
  • 13
  • 31
-1
votes
1 answer

Android FusedLocationProvider and battery life

I've found several different SO posts on conserving battery life with Android's FusedLocationProvider API. What I'm looking is a way to intelligently select the most location accurate provider, given the state of the host's battery and some…
-1
votes
1 answer

How to produce an iphone app which calculates the battery status?

How to produce an iphone app which calculates the battery status? Is there a particular API that i need to use? Has anyone got a link to any online tutorials?
1 2 3
31
32