LinuxPowerMeter is a project mainly written in Python, it's free.
A command-line program for outputting the current battery state visually
LINUX POWER METER
1. Introduction
2. License
1. INTRODUCTION
Just a simple command-line tool to display the current battery level.
To install, run:
make
To run:
pmeter
To uninstall:
make distclean
The power meter measures the voltage relative to the highest recorded
voltage reading, so for best results run it at least once on a full charge.
The reading displayed is simply the ratio of the remaining voltage relative
to the highest recorded voltage.
2. LICENSE
A command-line program for outputting the current battery state visually.
Copyright (C) 2011 Seán Kelleher
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.