wmacpi: Bump to version 2.0.
Source obtained from http://sourceforge.net/projects/wmacpi/files/. 2004 October 24 2.0 Upped version number to 2.0. Small typo fixes. wmacpi 2.0 goes gold . . .
This commit is contained in:
parent
f52c697212
commit
2eeca91cc0
|
@ -1,3 +1,10 @@
|
|||
2004 October 24 2.0
|
||||
Upped version number to 2.0.
|
||||
|
||||
Small typo fixes.
|
||||
|
||||
wmacpi 2.0 goes gold . . .
|
||||
|
||||
2004 September 28 2.0rc1
|
||||
Added support for switching to capacity mode automatically, on
|
||||
detecting dodgy reports from the battery.
|
||||
|
|
|
@ -409,7 +409,7 @@ static int calc_remaining_percentage(int batt)
|
|||
}
|
||||
|
||||
/* check to see if we've been getting bad data from the batteries - if
|
||||
* we get more than some limit we swith to using the remaining capacity
|
||||
* we get more than some limit we switch to using the remaining capacity
|
||||
* for the calculations. */
|
||||
static enum rtime_mode check_rt_mode(global_t *globals)
|
||||
{
|
||||
|
@ -477,7 +477,6 @@ static int calc_charge_time_rate(int batt)
|
|||
* mode, and then use that to estimate charge time. This will
|
||||
* necessarily be even less accurate than it is for remaining time, but
|
||||
* it's just as neessary . . . */
|
||||
#define CAP_SAMPLES (SAMPLES*10)
|
||||
static int calc_charge_time_cap(int batt)
|
||||
{
|
||||
static float cap_samples[CAP_SAMPLES];
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#define MAX_NAME 128
|
||||
#define MAXBATT 8
|
||||
#define SAMPLES 50
|
||||
#define CAP_SAMPLES (SAMPLES*10)
|
||||
|
||||
typedef enum {
|
||||
REMAIN,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.TH WMACPI 1 "April 15 2004"
|
||||
.TH WMACPI 1 "August 15 2004"
|
||||
.SH NAME
|
||||
wmacpi \- Battery status monitor for systems supporting ACPI
|
||||
.SH NAME
|
||||
|
@ -154,9 +154,6 @@ Print the version information.
|
|||
.B \-h
|
||||
Display help.
|
||||
.TP
|
||||
.SH SEE ALSO
|
||||
.BR wmapm (1)
|
||||
.br
|
||||
.SH AUTHOR
|
||||
.B wmacpi
|
||||
was originally written by Tim Copperfield <timecop@japan.co.jp>, then
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
#include "libacpi.h"
|
||||
#include "wmacpi.h"
|
||||
|
||||
#define WMACPI_VER "2.0rc1"
|
||||
#define WMACPI_VER "2.0"
|
||||
|
||||
/* main pixmap */
|
||||
#ifdef LOW_COLOR
|
||||
|
|
Loading…
Reference in a new issue