power-management Questions
6
Solved
There is some easily available information on finding the status of a battery, or whether it's charging or not. (GetSystemPowerStatus API or System.Windows.Forms.SystemInformation.PowerStatus).
I w...
Vivacity asked 7/7, 2009 at 11:20
3
With Android 9 battery optimization has been pushed further and apps are classified into standby buckets depending on how much the user has recently interacted with the app (see Android documentati...
Birthstone asked 22/11, 2018 at 16:4
2
i want to detect battery change at every percentage. I am able to detect battery level once with broadcast receiver. But its not updating value automatically when % change from 66 to 67.
Here is m...
Kiddy asked 17/4, 2012 at 10:10
4
I'm looking for an automatize way of doing Windows Power Management functions:
- Reboot
- Shutdown
- Hibernate
- Sleep
- Wakeup
Is there a Python module to cover this functionality?
Of course any ...
Gavin asked 20/4, 2010 at 8:41
3
Solved
Is it possible to get the remaining battery time available from an Android phone?
Thanks.
Ledaledah asked 19/1, 2012 at 9:13
2
What is the difference between kIOPMAssertionTypeNoIdleSleep, kIOPMAssertionTypePreventSystemSleep and kIOPMAssertionTypePreventUserIdleSystemSleep?
I am trying to create an IOPMAssertion that wil...
Creasy asked 10/7, 2013 at 14:3
3
Solved
Some Android devices due to custom Android tweaks are done by manufacturers has some politics about Power Management that breaks some features like push notifications.
Huawei - Only Pre-EMUI 5.0 ...
Branscum asked 9/1, 2018 at 10:32
2
Some computers (e.g. Dell, Vaio) come with software that prevents a battery from charging.
This functionality allows me to use my laptop with battery (protected from power outage) and keep my batte...
Toowoomba asked 25/9, 2011 at 20:58
3
My MacBook spontaneously wakes up from sleep mode with high fan activity.
I want to do a investigate this in RTC or power settings? Or by strace-ing of processes, etc (using some process/kernel ma...
Nous asked 11/4, 2020 at 11:8
4
Solved
I'm trying to write a small app that monitors how much power is left in a notebook battery and I'd like to know which Win32 function I could use to accomplish that.
Down asked 24/10, 2008 at 13:4
1
Solved
For example if you want a cron job to run after each reboot, you add sth like this to your cron file:
@reboot ./do_sth
Is there something similar to that for waking up from a sleep state?
...
Zeralda asked 16/10, 2019 at 3:44
2
I happened to stumble upon these two instructions - mwait and monitor https://www.felixcloutier.com/x86/mwait. The intel manual says these are used to wait for writes in a concurrent multi-processo...
Ronni asked 13/8, 2019 at 5:54
9
Solved
I have an application that gets detailed system information, and I have been able to get the percent of charge remaining but not the percent of the battery itself.
Explanation: As time goes on, th...
Pecksniffian asked 20/1, 2012 at 18:17
1
I have a daemon process started via launchd. This will be running even during DarkWake and has no time to finish before OS X goes back to sleep again.
I can think of the following solutions, but ...
Petua asked 26/8, 2015 at 13:10
2
I want to keep my application running even if computer goes to sleep mode. I have use thread in my application and it performs some task after specific interval.
Is it possible to execute program ...
Neither asked 15/1, 2014 at 8:49
4
Solved
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 ho...
Resistance asked 22/6, 2010 at 11:9
2
In the most recent version of OSX Lion, how do you wake up the machine from display sleep? This is in response to network activity.
In 10.7.3 this was possible with the following call:
IOPMAssert...
Saprogenic asked 15/5, 2012 at 10:29
6
Solved
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...
Inefficiency asked 14/7, 2010 at 12:32
2
Solved
I'd like to use a GCE server and VNC to run some desktop programs I've written. However, I'd like to not have the GCE server running all the time (to save money) and I'd like to have the setup of m...
Mobcap asked 4/11, 2013 at 0:31
5
Solved
I am using the method setKeepScreenOn(true) and haven't been able to figure out how to call this in relation to the current Activity (which has a content view set). I've been able to get it to work...
Discordancy asked 16/3, 2011 at 20:6
5
Solved
I want to launch My Application when we taps on NFC tag even Phone is Locked same as did in Google Wallet Application.
I tried in following ways :
1) Tap NFC tag to launch my application after pr...
Deliberate asked 24/5, 2012 at 8:24
1
Solved
I want to run some save routines when the computer suspends. Therefore I use the OnPowerChange-Event to detect when it suspends and resumes. Unfortunately me save routine needs 3-5 seconds to execu...
Kobarid asked 14/5, 2015 at 20:2
4
Solved
I am working on a mobile game, which appearantly crashes when the Low Battery alert is displayed. It works fine on low memory, incoming calls and other messages.
Its a pain to test and debug this,...
Akkad asked 14/6, 2012 at 8:38
3
Solved
I'm converting a Carbon app to a Cocoa app and I can't find the Cocoa equivalent for:
UpdateSystemActivity(UsrActivity);
Any Mac people out there care to point me in the right direction? Thanks....
Acalia asked 24/8, 2009 at 21:13
1
Solved
I'm interested in getting all power plans that you have in your computer using C#.
I was thinking you might be able to use the API PowerEnumerate function in some way:
DWORD WINAPI PowerEnumerate(
...
Carree asked 9/10, 2014 at 23:23
1 Next >
© 2022 - 2025 — McMap. All rights reserved.