Skip to content

small changes to Dmitry E. Oboukhov's version -- remaining battery time added

License

Notifications You must be signed in to change notification settings

Afanc/xbattbar-time

Repository files navigation

RELEASE NOTES ++ 					April - 29 - 2015
small changes to the original software
fitted for thinkpad x250
for my very personal use - check the code since it won't do what you expect him to do
very badly written, feel free to improve
usable with the '-c' option only

what changes ?
- the perl xbattbar-check-acpi script
    - fitted for two batteries, the second one being twice as efficient. Check the code ! There is a "total = 1*battery1 + 2*battery2"
    - if running on internal battery, information ("!") given
- the c xbattbar.c code
    - added global variable
    - changed information popup (removed ac information, added remaining_time)
some lines where only commented out instead of completely removed

RELEASE NOTES						Febraury-2-2001

Suguru Yamaguchi <suguru@wide.ad.jp>

This directory contains source for the X11 version of xbattbar (version 1.4.2)
which is a (laptop) battery status indicator.

* Version

The release version of this xbattbar is 1.4.2

Some of command line options of this release are not compatible with
its old versions such as 1.1 and 1.2.  If you are currently using such
old versions of xbattbar, Please consult the manual page of this
version.

* Supported platform

We tested this program on:

	BSDI's BSD/os	3.0, 3.1
	FreeBSD		2.2.x, 3.x, 4.0, 4.1
	NetBSD		1.3, 1.3.2
	Linux		2.2

* Installation Procedure

It's almost the same as cases for normal X window applications:

xmkmf -a
make
make install
make install.man

* Known bugs and installation hints

1. This program doesn't work well with the virtual desktop environment
provided by several window managers such as fvwm; especially in the
case that you use an 'EdgeScroll' feature, this program corrupts with
it, because this program instead of your window manager catches mouse
events to show xbattbar dialogue box.

2. This program may happen to get X protocol error from X servers, and
then terminate illeagally.  Especially in the case we repeat "launch
and kill" of this program very rapidly, this case may happen.
I guess this problem is caused by the X server internals.

3. In the standard configuration of FreeBSD 2.x and 3.x, since the APM
device /dev/apm is protected by mode 664 with owner "root" and group
"operator", this program have to be installed with root.operator and
mode 2555 (I prefer to use SetGID operator instead of SUID root for
security considerations).

4. In the case you plug off your AC line during battery status window
is poped up, the battery status window is not updated, because I do
not put any code to sense the battery status during the window is
poped up.  You may think this is a bug, but I don't care (sorry!).

* Comments, Suggestions, and Bug Reports

Please send e-mail to Suguru Yamaguchi <suguru@wide.ad.jp>

* Developers

Suguru Yamaguchi	base development and releasing
Akira Kato		function enhancements
Noriyuki Shigechika	function enhancements
Susumu Sano		FreeBSD porting
Hiroshi Ura		NetBSD porting
Yuji Sekiya		Linux porting

------
$Id: README,v 1.8.2.4 2001/02/02 05:25:28 suguru Exp $

About

small changes to Dmitry E. Oboukhov's version -- remaining battery time added

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published