Sys::Ibam - Perl extension for the intellegent battery monitor
use Sys::Ibam; $i = Sys::Ibam->new(); $i->update(); if( $i->valid() ) { $i->update_statistics(); } else { $i->ignore_statistics(); } $i->save();
Sys::Ibam is a Perl extension for the ingellegent battery monitor by Sebastian Ritterbusch <Sebastian@Ritterbusch.de>. It uses statistical and adaptive linear methods to provide accurate estimations of minutes of battery left or of the time needed until full recharge. It requires /proc/apm.
This module follows the internal ibam API quite closely. Only the import() method has been renamed to import_old_data(). See ibam.inl for details.
ibam(1)
Florian Ragwitz <flora@cpan.org>
Copyright (C) 2004 by Florian Ragwitz
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available.
To install Sys::Ibam, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sys::Ibam
CPAN shell
perl -MCPAN -e shell install Sys::Ibam
For more information on module installation, please visit the detailed CPAN module installation guide.