Mobile Battery Life Software Suggestions?
cajunjon asks: "I'm working on a project involving testing various laptops and their battery life and I'm trying to find a Win32 application that will accurately read the full voltage, charge capacity, cycle count, wear life and rated capacity information from the laptops of various manufacturers. Any suggestions?"
Is it just me, or is Ask Slashdot becoming a search engine for people too lazy to search on Google for themselves? Some questions are worth being posted to Ask Slashdot, but ones like this could easily be solved with a few minutes of searching.
Now, if the question were altered to read "After some searching, I've found applications A, B and C. Does anyone in the Slashdot crowd have experience with any of these, or have recommendations on which is the most accurate" I'd be more inclined to take it seriously.
All those applications, whether in Windows or Linux,just read special BIOS functions to get their info.
How accurate is that ? Some batteries seem tolist a high charge for a while, then suddenly sink to zero. The little bars definitely aren't linearly related to remaining battery energy.
The battery is always at the same SMBus address, and the same SMBus commands are used to read the number of charge cycles, current, voltage, required charging current and voltage, number of minutes of power left at current charge.
Read some SMBus specs.
Is it just me, or are the Ask Slashdot comments becoming a forum for venting neurotic feelings towards fellow man that have no expected cure ? Some comments are worth being posted in Ask Slashdot, but ones like this could easily be solved with a click on the back button, or a swift boot to the head.
Now, if the comment were altered to read, "After some searching, I've found applications A, B and C. You might want to try those" I'd be inclined to take it more seriously.
1. Download and burn a Knoppix/Gentoo/Ubuntu live CD
2. Boot with it
3. cat
4. cat
http://www.corewars.org/scripts/bat.pl
You may need some simple DC/AC conversion and a few fuses to keep them from overloading.
Now, I didn't say it gonna be easy, but it is mobile and has a tremendous battery life.
Kidding aside here is a article that might help off the The Register
Sorry about the writing. Robot fingers, you know? Cliff Steele in DOOM PATROL #23
http://www-307.ibm.com/pc/support/site.wss/documen t.do?lndocid=MIGR-44226/
Unfortunately, these kinds of applications are really hard to come by for Win32 (the above is the only one that I know). You may find that some laptops have vendor-supplied programs like Maximiser, but I believe the problem you have is that such an application simply doesn't exist. Your best bet really is to use a 2.6 Linux kernel and the /proc/acpi facilities. I'm not entirely sure about the cycle count, but I'm pretty sure it will give you the rest of the info you need. Just fire up a Knoppix CD and go to work... that is, unless you want to write a program that interfaces with Windows ACPI. :)
P.S. If you're going to do any kind of power management after you get this data, I'd highly suggest a distro with kpowersave (like SuSE 9.1 or better), which has a libpowersave library for managing devices. But as a warning, the source code was somewhat difficult to locate online (don't ask me why).
There are two types of people: those prepared for the zombie apocalypse and those who will be eaten.
This CPU Eat 'n' Cool windows app eats cpu cycles with a no-op style command. The operation saves cpu power quite a bit. If your interested in saving power, and running slower something along the lines of this app might work nicely. -Jefk
Although all of the information you seek is useful and valid, the real question is how long the battery lasts. My solution simply charts the charge and discharge curves and predicts the time frames.
http://www.gecces.com/ look for the battery profiler.
geccie