Battery Status 0.1.1

An applet/indicator for the GNOME environment
Battery Status
  1 Screenshot
Battery Status is a panel applet for GNOME, that shows information about laptop battery state.

It has some additional features, so usual icon of gnome-power-manager can be removed from notification/indicator area.

Battery Status doesn't rely on gnome-power-manager directly, but counting on presence in system for some useful integration with it.

Rationale

GNOME Power Manager's notification icon has got main user interface shortcoming (if its purpose - to show battery information) - for see exactly battery percentage or battery lifetime, user should hover mouse to icon, wait couple seconds, and only then user could see required information (tool tip - the bad way for getting information in such cases). Such behavior pretty annoying, so Battery Status' applet hasn't got such behavior and allow to user see percentage/lifetime/charge time of battery right in panel next to icon. Also, using GNOME Power Manager's icon, user can't direct place, where exactly battery information should be showing.

Problems, which has been described above, can be solved by using battstat-applet (Battery Charge Monitor applet), but it has some historical architectural disadventages (such as relies on ACPI and HAL) and user interface problems (such as using non-consistent icons) itself, and by these reasons this applet has been declared as obsolete, has been deprecated and removed from set of standard gnome-applets package in such key GNOME Desktop GNU/Linux distributions as Fedora and Ubuntu (see also this [1] discussion for more information).

Another improvement - warning message about critical battery charge. GNOME Power Manager supports notifications (via notification-daemon/notify-osd), and this is very useful. But when user is deep in thoughts about his current work/task/action/etc, his locus of attention (see [2] for more details) may just couldn't see notification-like warning about critical low (which very important if user hasn't get access for power) - it should be message on top of all windows.

"Device Information" dialog (which has been totally deprecated in last versions) from GNOME Power Manager's icon has been replaced by "Battery Status" dialog in Battery Status. In "Device Information" dialog all battery information puts in one heap, but in "Battery Status" dialog battery information divided by two (three) easy-readable areas - one for battery capacity, another for battery charge (and another for battery information).

Installation

Battery Status can be installed from package, or from sources. For better experience you should re-login after installation.
Packages for Ubuntu can be found in this launchpad repository:
http://launchpad.net/~iaz/+archive/battery-status
Debian/Ubuntu-related source code tree (with debian/ directory for packaging):
https://code.edge.launchpad.net/~iaz/battery-status/trunk
non-Debian/Ubuntu source code tree (without debian/ directory):
http://github.com/ia/battery-status
Command for installation from sources:

python setup.py install
GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source) gconftool-2 --makefile-install-rule /usr/share/gconf/schemas/battery-status.schemas


Command for installation in Ubuntu from Launchpad's PPA:

add-apt-repository ppa:iaz/battery-status
apt-get update
apt-get install battery-status


Basic Usage

For place applet to panel, right click on it, and select "Add to Panel..." > "Battery Applet"
After adding, by default applet shows icon only.
From main menu user (by default) can get access to:

 * "Battery Status" dialog
 * Power Statistics (provided by GNOME Power Manager)
 * "Show" setting
 * CPU frequency scaling (provided by cpufreq-applet)
 * "Power Management..." preferences (provided by GNOME Power Manager)

From context menu (by clicking right mouse button at applet) user can get acces to:

 * Bug Reporting (Apport/Launchpad integration)
 * GNOME Power Management Help (provided by GNOME Power Manager)
 * "About" information dialog
 * generic applet-related options (such as "Remove", "Move", "Lock To Panel")

For run "Battery Status" as Application Indicator (in latest versions of Ubuntu, for example), run in Terminal:

/usr/lib/battery-status/battery-status --indicator

For autostart this command on login, you can add it in "System" > "Preferences" > "Startup Applications".

Additional settings

Battery Status uses GConf for settings. All keys can be found in /apps/battery_status.
Description for each key you can find using gconf-editor.

Technical Details

Battery Status written in Python with using:

 * PyGTK - python bindings to GTK library
 * Bonobo - for integration application in GNOME panel as applet
 * D-Bus - for getting power information from UPower/DeviceKit-power and update it on changes
 * UPower/DeviceKit-power - for getting power information
 * python-appindicator - python bindings to Application Indicators library
 * GConf - for keep and manage applet settings

last updated on:
May 26th, 2010, 12:45 GMT
price:
FREE!
developed by:
Ivan Zorin
homepage:
live.gnome.org
license type:
GPL v3 
category:
ROOT \ System \ Monitoring
Battery Status
Download Button

In a hurry? Add it to your Download Basket!

user rating 2

4.5/5
 

0/5

Rate it!
What's New in This Release:
  • fix hard-coded addresses of power devices (LP: #583654)
  • fix distribution detection (LP: #584517)
  • fix empty serial number of battery field in battery status dialog
  • fix gnome-power-statistics dialog call in indicator
read full changelog

Add your review!

SUBMIT