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
5 changed files with 11 additions and 7 deletions
|
@ -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
|
2004 September 28 2.0rc1
|
||||||
Added support for switching to capacity mode automatically, on
|
Added support for switching to capacity mode automatically, on
|
||||||
detecting dodgy reports from the battery.
|
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
|
/* 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. */
|
* for the calculations. */
|
||||||
static enum rtime_mode check_rt_mode(global_t *globals)
|
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
|
* mode, and then use that to estimate charge time. This will
|
||||||
* necessarily be even less accurate than it is for remaining time, but
|
* necessarily be even less accurate than it is for remaining time, but
|
||||||
* it's just as neessary . . . */
|
* it's just as neessary . . . */
|
||||||
#define CAP_SAMPLES (SAMPLES*10)
|
|
||||||
static int calc_charge_time_cap(int batt)
|
static int calc_charge_time_cap(int batt)
|
||||||
{
|
{
|
||||||
static float cap_samples[CAP_SAMPLES];
|
static float cap_samples[CAP_SAMPLES];
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
#define MAX_NAME 128
|
#define MAX_NAME 128
|
||||||
#define MAXBATT 8
|
#define MAXBATT 8
|
||||||
#define SAMPLES 50
|
#define SAMPLES 50
|
||||||
|
#define CAP_SAMPLES (SAMPLES*10)
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
REMAIN,
|
REMAIN,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.TH WMACPI 1 "April 15 2004"
|
.TH WMACPI 1 "August 15 2004"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
wmacpi \- Battery status monitor for systems supporting ACPI
|
wmacpi \- Battery status monitor for systems supporting ACPI
|
||||||
.SH NAME
|
.SH NAME
|
||||||
|
@ -154,9 +154,6 @@ Print the version information.
|
||||||
.B \-h
|
.B \-h
|
||||||
Display help.
|
Display help.
|
||||||
.TP
|
.TP
|
||||||
.SH SEE ALSO
|
|
||||||
.BR wmapm (1)
|
|
||||||
.br
|
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
.B wmacpi
|
.B wmacpi
|
||||||
was originally written by Tim Copperfield <timecop@japan.co.jp>, then
|
was originally written by Tim Copperfield <timecop@japan.co.jp>, then
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
#include "libacpi.h"
|
#include "libacpi.h"
|
||||||
#include "wmacpi.h"
|
#include "wmacpi.h"
|
||||||
|
|
||||||
#define WMACPI_VER "2.0rc1"
|
#define WMACPI_VER "2.0"
|
||||||
|
|
||||||
/* main pixmap */
|
/* main pixmap */
|
||||||
#ifdef LOW_COLOR
|
#ifdef LOW_COLOR
|
||||||
|
|
Loading…
Reference in a new issue