IBAM – The Intelligent Battery Monitor for Laptops
Sponsored Link
IBAM solves this problem by creating a battery and charge profile (as seen on the right for my old laptop) from which it can compute the actual times remaining. The red graph represents the battery cycle (where the laptop is running on battery), the x-axis represents the bios-minutes (now bios-percentage), the y-axis the actual average lengths of that minute (percentage) in seconds. As you can see the bios minute was about 50 seconds long from 200 minutes to 60 minutes, and only 10 seconds long from 40 minutes to 20 minutes. No wonder I was surprised that the battery was empty so soon... 😉
The green graph shows the charge cycle, which seems to be a bit more useful, still the same technique can be used to give the user an idea how long the charge process will need.
As soon you created initial profiles you can get the similar graphs for your computer by using the option "--plot".
Of course the computer will consume more energy on a high load and IBAM does take this into account by determining a linear adaptive method for the current cycle.
Install IBAM in Ubuntu
sudo apt-get install ibam
This will install all the required packages
Using IBAM
Charging batteries:
Laptop is running on batteries
For more available options
Usage
ibam [options]
Options:
-h, --help displays this message
-v, --version displays software version
-b, --bios show bios apm guesses
-s, --seconds displays times in seconds
-c, --correctseconds displays changes in seconds
-r, --readonly no files will be updated
-a, --all show ALL information
--battery show battery time
--batteryadaptive show adaptive battery time
--batterybios show bios battery time guess
--percentbattery show battery percentage
--percentbios show bios percentage
--charge show charge time
--chargeadaptive show adaptive charge time
--percentcharge show charge percentage
--totalbattery show total battery time
--totalbatteryadaptive show adaptive total battery
--totalcharge show total charge time
--totalchargeadaptive show adaptive total charge
--hardlowlimit[=lim] show user defined hard lower percentage limit
[and set it to value <lim> or disable <0> it]
--softlowlimit[=lim] show automatic lower percentage limit
[and lower it to value <lim> or diable <0> it]
--plot[=profiles] use gnuplot to plot battery and charge graphs
and plot the last <profiles> additional profiles
--plotderivations[=profiles] same as above plus standard derivations
--import import V0.1 data from current directory
--profile enable additional yet unused profiling
--noprofile disable additional profiling
--credits to everyone contributing to ibam
I was just about to hunt for this as i’ve just modded a zipit to run terminal
It will be more good if we have the desktop applet or some GUI to tell the battery status rather running in console
I agree, GUI frontend would be nicer.
What about these:
http://www.tetonedge.net/programming
http://ortling.com/vubat/index.html
Found from the Archlinux AUR, http://aur.archlinux.org/packages.php?O=0&K=ibam&do_Search=Go
Regarding the GUI, it would definitely be great, but for now you could simpli dedicate a terminal windows (or tab) for it and run “watch -n 30 ibam”
conky can also be used to indicate battery status
I use
${battery_percent C1BE}% ${battery_bar C1BE}
note C1BE is my battery, yours may be different, to check use $ls /proc/acpi/battery/
Hi,
I rewrote the ibamtray to totally mimic gnome-power-manager applet. It even integrates with it’s translations. Upon startup it will try to hide the gnome-power-manager applet, but you’ll need my special patch one. Packages can be found in my ppa:
ppa:mark-baas123/ibam-applet
Greetings,
Mark
Hi I just installed ibam to check my laptops battery and to try to fix the battery care function. But when I ran the ibam command in the terminal it gave me the “no apm data available”
Any ideas?