Slashdot Mirror


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?"

15 comments

  1. Google? by Kithraya · · Score: 0, Offtopic

    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.

    1. Re:Google? by mgahs · · Score: 3, Funny

      Are you going to answer their question? Or are you going to bitch about people on Ask Slashdot.

      Contribute, then you can complain. :)

      How about BatteryMon:
      (http://www.passmark.com/products/bat mon.htm)

      "Windows program that allows the monitoring of laptop computer batteries and uninterruptible power supplies (UPS). Graphically see the battery charge / discharge rate, diagnose problem battery cells, compare your batteries performance with expected discharge rates and see the status of each individual battery pack (when multiple batteries are in use). More than 20 statistics are provided including voltage, chemistry and capacity."

    2. Re:Google? by Mike1024 · · Score: 2, Informative

      I'd second this, having used the software. Check out the screenshots:

      http://www.passmark.com/products/batmon_screenshot .htm

      it gives 'new' and 'now' capacity (mW hours), discharge rate and graph, anticipated time to fully discharge, and so on. Seems like exactly what the poster was looking for.

      Michael

      --
      "Goodness me, how unlike the FBI to abuse the trust of the American public." -- The Onion
  2. Can you trust the BIOS ? by Anonymous Coward · · Score: 0

    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.

    1. Re:Can you trust the BIOS ? by bhtooefr · · Score: 1

      Hmm... that would be a sign that there's bad cells that the controller THINKS works, but they don't.

      It's not a BIOS issue, it's an issue inside the battery. The system is just reading the info that the battery passes it.

  3. SMBus. by TinheadNed · · Score: 3, Informative

    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.

  4. Ann Landers ? by Anonymous Coward · · Score: 0, Insightful

    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.

  5. Simpler by spockvariant · · Score: 5, Informative
    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
    1. Re:Simpler by Anonymous Coward · · Score: 0

      Hey, how about actually answering the question?

      "full voltage, charge capacity, cycle count, wear life and rated capacity"

      Cycle count? Wear life?

  6. several Car Batteries and a hand truck. by infonography · · Score: 1

    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
  7. Unfortunately not for various manufacturers... by the_ed_dawg · · Score: 3, Informative
    Here's one for the IBM ThinkPad.

    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.
  8. CPU Eat 'n' Cool by cashew76 · · Score: 1

    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

    1. Re:CPU Eat 'n' Cool by harrkev · · Score: 1

      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.

      --
      "-1 Troll" is the apparently the same as "-1 I disagree with you."
  9. Simple Approach by Geccie · · Score: 1

    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