4 ---------------------------------------------------------------------------------------------
6 3.1 -Released: Jan 11, 2000.
7 + Added support for time left on FreeBSD 3.x/4.x
8 (Chris D. Faulhaber <jedgar@fxp.org>)
9 + Added support for Solaris. Works well on a SPARCbook 3GX.
10 Unsure of any others out there.
11 William M. Perry <wmperry@aventail.com>
13 3.0 -Released: December 15, 1998.
14 A Major overhaul performed. Changes include;
16 + Added buttons to place laptop into "Suspend" (button labeled `Z')
17 or "Standby" (button labeled `S') mode. Buttons are separated
18 by status LEDs to minimize accidentally clicking on the wrong
19 one. I used `Z' for suspend because its like the laptop is
20 catching some Zs (i.e. going to sleep).
22 + Replaced the 3 rectangular red/yellow/green status indicators
23 with 3 small round LEDs and moved them to a viewport at the
24 bottom between the two buttons. This array of LEDs could in future
25 be moved to a single LED in the main viewport to make room for
26 other things at this location (perhaps more buttons if apm supports
27 more things like truning off LCD, etc).
29 + Created user-definable LowLevel and CriticalLevel thresholds. Yellow LED
30 comes on when Battery Percentage hits the LowLevel threshold. Red comes on
31 when you reach CriticalLevel threshold.
33 + Made red status LED blink for extra noticability. User can define blink rate.
34 A BlinkRate of 0 turns off blinking.
36 + Moved all of the other indicators into a single viewport above the
37 buttons and status LEDs.
39 + Changed the red-dark-green colorbar to a banded blue LED bar that is tipped
40 with a color indicating capacity level. The tip color goes through
41 green-yellow-orange-red. A series of single-pixel dots is always present
42 below the bar to indicate its range. This is needed now, because
43 the bar is free-floating in the viewport. The single-pixel dots can be
44 seen easily on an LCD - the type of monitor wmapm is likely to be used.
46 + Changed the `CHARGING' indicator with a single red `C' indicator at the
47 upper left of the APP.
49 + Changed percentage indicator so that it can display 100%. (Used to only go
52 + Changed time indicator to have a +/- sign depending on whether you are
53 charging up or draining down. (+ means you have that much battery life
54 left before its discharged. - means you have that much time to wait until
55 the battery is fully charged.)
57 + Fixed a problem with very large "TimeLeft" values. If the time is greater
58 than the maximum time displayable 99 hours and 59 minutes, a ---:-- is
59 listed instead. Since the time is based on measured charge/discharge rates,
60 when the battery is doing neither, the time is essentially infinite. On my
61 (M Henderson's) laptop, the time left indicated 32766 when this happened.
62 FreeBSD systems should also show a ---:-- indicator. Dont have FreeBSD though
63 so I couldnt test it....
65 + Changed Makefile to suid the apm program. This is needed to allow users to
66 invoke the standby and suspend capabilities in apm.
68 + Sped up the loop to catch button press and expose events. But the querying of
69 /proc/apm is still done about once a second...
71 + Added alert feature. User can use command line option -A <T1 T2> to turn on alerts
72 via wall. T1 and T2 are the time in seconds between updates for Low and Critical
73 status. By default the alerts are turned off.
75 + Various sundry code cleanups.
78 2.0 - Added FreeBSD support.
80 1.3 - Fixed an annoying little problem with the the meter
81 not properly lowering as the battery is depleted.
82 Also did some code cleanup, enhanced the Makefile which
83 now includes 'make install'.
86 1.2 - Fixed bug that showed 100% battery capacity
87 as 90% (I never noticed since my battery seems
89 Thanx to Brice Ruth <bruth@ltic.com> for pointing out/helping fix the
90 100% bug (err...feature).
93 1.1 - Removed libapm dependency; tweaked some code.
96 1.0 - Initial release version.