power-management
How to keep android device from sleeping while plugged in
I\'d like to keep the screen on whenever one of my Activities are running an开发者_运维知识库d the phone is plugged in to a power source.I know that Wakelocks are tricky, so I\'m looking for an exampl[详细]
2023-01-20 14:56 分类:问答How do I get estimated battery life on Windows Phone 7
Back in the good ol\' Windows Mobile day (CE based) one good get a rough estimate of battery life using the CE CoreDll.dll. Well sometimes at least depending on your hardware. This was exposed via Get[详细]
2023-01-20 10:39 分类:问答Determine time since last user activity in Android
How do you discover when, in the future, the device is 开发者_JS百科expected to sleep? Or, at least, when the last user activity was?[详细]
2023-01-19 11:02 分类:问答How to get information about android battery usage by application
H开发者_JAVA百科ow can I get battery usage per application in Android. I need to know % of battery spent by application.[详细]
2023-01-16 23:34 分类:问答Android screen lock/car charger is killing my thread
I have a very tough problem I can\'t solve.I have an app which I can put into airplane mode remotely to save power.I have a thread running which gets the power-save message, removes callbacks for all[详细]
2023-01-15 22:49 分类:问答Access Mouse & Keyboard Battery Status via API
I want to write a little App for Mac and i need the battery percentage of mouse and keyboard connected via Bluetooth. Anyone can t开发者_如何学运维ell me if there are some API to do this? I know that[详细]
2023-01-12 13:26 分类:问答Accessing/monitoring battery status through SMBus
I am currenlty trying to monitor my battery status through SMBus. I have a battery along with a control board that constantly outputs the battery status.[详细]
2023-01-08 20:30 分类:问答Calling ReadProcessorPwrScheme() does not return correct values
I would like to ask a question regarding P/Invoke method. I am coding in C# and would like to access the Power Management API (powrprof.dll) method \"ReadProcessorPwrScheme\". Unfortunately, I am not[详细]
2023-01-08 11:57 分类:问答How to get the Battery Charge Level specifically in mWh (not percentage) for Mac (Cocoa or C)
The title pretty much explai开发者_如何学JAVAns it all. I\'m creating a mac app and I need the battery charge level specifically in mWh (not percentage). Would like to do it in C or Objective C prefer[详细]
2023-01-07 21:10 分类:问答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.[详细]
2023-01-07 07:12 分类:问答