battery

Increasing Battery Life Under Linux

All right, this is something I think everyone can agree would be nice to have: Longer Battery Life I have a Thinkpad T61p and am currently running Fedora 9 on it. I love sitting outside and coding (required software tie-in... check) and it would be nice to not have to worry about my battery running out while I'm doing so. Vista seems...

Increasing Battery Life Under Windows

Are there any good (free?) tools for monitoring power consumption and aiding in reducing power consumption on a Windows laptop? I currently have a Lenovo T60p and the tools that Lenovo provides are OK, but nothing really that good. They really just provide a new interface to the Windows Power Manager options, at least from what I've fou...

Monitor battery charge with Win32 API

Hello, 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. ...

Battery status in OSX?

How can I read the status of the battery on my MacBookPro from my own application? Googling has so far only revealed APIs for device drivers to handle power events - there's nothing about user-land processes accessing this information. thanks. ...

Compact Framework - System.Threading.Timer stops when the user turns off the screen

I have an application that needs to "poll" a webservice to see if the user has any new messages waiting. I have no control over the webservice so I cannot switch to a "push" mechanism, I'm stuck making a request every X number of seconds to see what's available. I am using a System.Threading.Timer to make the request every so often, bu...

How do you get the current battery level in .NET CF 3.5?

How - or what's the best way - to retrieve the device's current battery level in .NET CF 3.5 on Windows Mobile 5 and 6? ...

Preserving battery life when using Xcode - your settings/recommendations?

I often find myself wanting to open Xcode and do a little coding on international flights and while I'm away from power, but it's a quick way to empty my MacBook Pro's battery. What settings do you use to preserve battery life while running Xcode? ...

How to enable C1E on AMD Athlon X2 QL?

I have laptop with probably broken BIOS. C1E is not enabled and with Linux I get poor batery life (1-1,5h). C1E is not enabled because content of MSRC001_0055 is 0. I could rewrite it, but I don't know IoAddres value. So request for anyone with working C1E on AMD laptop, could you provide your content of MSRC001_0055? http://www.amd.com...

How to programatically get current battery level with COCOA

How can I get the current battery level using the cocoa framework running with Leopard? Currently I am getting it running a NSTask with: pmset -g ps | grep -o -e [0-9]*% | sed -e 's/%//g' But i think this is a clumsy way of doing this. Thanks ...

SystemEvents::PowerModeChanged Problem

Whats in my project(C++/CLI): - dllimport some un managed dlls - wndproc is override in the form - Treads are there - Times used - I used notify icon so used myForm->Hide() and myForm->Show() I used the following line but MyMainForm::onPowerModeChanged method never fires... SystemEvents::PowerModeChanged += gcnew PowerModeChangedEv...

How can I programmatically stop a notebook battery from charging

There is some easily available information on finding the status of a battery, or weather it's charging or not. (GetSystemPowerStatus API or System.Windows.Forms.SystemInformation.PowerStatus). I want to be able to stop a battery from charging based on some criteria, e.g. battery power > 20%. Is there an API to do this? ...

Does anyone know whether the Android addProximityAlert on the LocationManager is battery intensive.

I just basically want to add about 20 and sometimes 80 Proximity Alerts with no time expiration with a radius of around 500 meters. Just wondering whether by doing this will suck up the battery real quick? also would it make any difference by reducing the radius? ...

How to programmatically check whether the mobile phone is currently charging or is on battery?

Hi, do the mobile phones have an API function or something like that which could be called by a phone application to figure out whether the phone is currently charging or is on battery? I guess that if there is such a function at all, it would have a different name on each mobile OS, so if anybody could name those function names and the...

Increasing Battery Life on Windows Mobile using GPS and Web updates

I have an app that runs on Windows Mobile and uses the GPS to update its location at various intervals. As expected, enabling the GPS chip uses more battery power. (no duh..) So currently my technique has been to cycle the the GPS on/off at approx. every 4 minutes to acquire the location, do something if things changed, and update its...

iphone: Calculating battery life

Wondering if there are references beyond the Apple tech stats for calculating battery life. I've tried comparing some existing battery apps (battery % left * Apple's figures) and I dont come up with the same answers sometimes. Also there are stats for using 2G cell (as opposed to 3G) and I dont see anything on Apple for 2G battery life. ...

Get battery level in Java

I would like to make a java app that shows the current battery level of my mac OS X. I have read http://stackoverflow.com/questions/25552/using-java-to-get-os-level-system-information and was wondering how I could modify this to make it display the current % of battery Thanks ...

USBCELL - Can anyone program this?

USBCELL rechareable batteries - charged using the USB port These came out a while back and are worth the money, in my opinion. I searched around for software specifically made to monitor the battery level of USBCELL batteries and got nothing. There are some USB port monitor programs out there which might tie in somehow, but they could...

Battery Level Will Not Update

Hello there, I am having a small problem. I am a beginner to iPhone programming so please forgive me if the answer is obvious. I have found the current charge and want it to continually update while my app is running. I tried this: - (void) viewWillAppear:(BOOL)animated { NSLog(@"viewWillAppear"); double level = [self batteryLevel]...

Android data storage - File vs SQLite

I am developing an application that periodically sends information to an external server. I make a local copy of the data being sent, for backup purposes. What is the best option to store the data in terms of saving battery life? Each data submission is a serialized object (the class has 5 fields, including a date, numbers and strings...

Android Battery in SDK

Is there a way to get battery information from the Android SDK? Such as battery life remaining and so on? I cannot find it through the docs. ...