Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
Portables Software

Mobile Battery Life Software Suggestions? 15

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?"
This discussion has been archived. No new comments can be posted.

Mobile Battery Life Software Suggestions?

Comments Filter:
  • SMBus. (Score:3, Informative)

    by TinheadNed ( 142620 ) on Sunday July 10, 2005 @02:20PM (#13027413) Homepage
    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.
  • Simpler (Score:5, Informative)

    by spockvariant ( 881611 ) on Sunday July 10, 2005 @03:05PM (#13027621)
    If you're not averse to making your life simpler:

    1. Download and burn a Knoppix/Gentoo/Ubuntu live CD
    2. Boot with it
    3. cat /proc/acpi/battery/BATN/info to get the following info:
    present: yes
    design capacity: 53280 mWh
    last full capacity: 51970 mWh
    battery technology: rechargeable
    design voltage: 11100 mV
    design capacity warning: 3000 mWh
    design capacity low: 1000 mWh
    capacity granularity 1: 200 mWh
    capacity granularity 2: 200 mWh
    model number: DELL C26035
    serial number: 15188
    battery type: LION
    OEM info: Sony
    4. cat /proc/acpi/battery/BATN/state to get
    present: yes
    capacity state: ok
    charging state: charged
    present rate: unknown
    remaining capacity: 53280 mWh
    present voltage: 12536 mV
    Here's a script that'll give you a charge/time profile that you can read using GNUPLOT (a free utility available on UNIX):
    http://www.corewars.org/scripts/bat.pl [corewars.org]
  • 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 [theregister.co.uk]
  • by the_ed_dawg ( 596318 ) on Monday July 11, 2005 @01:51AM (#13030640) Journal
    Here's one for the IBM ThinkPad.

    http://www-307.ibm.com/pc/support/site.wss/documen t.do?lndocid=MIGR-44226/ [ibm.com]

    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).

  • 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
    • Those types of programs used to be potentially useful back in the Win9x days, but I thought that XP did that sort of thing by itself.

      Just FYI: I used to use a program called "CPU Idle" back when I had my Pentium 120 laptop. My multimeter could not tell 10mA worth of difference on the AC plug when that program was running or not. I dumped it.

      PS: Read my sig, then re-read your post.
  • 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/ [gecces.com] look for the battery profiler.

    geccie

To invent, you need a good imagination and a pile of junk. -- Thomas Edison

Working...