aboutsummaryrefslogtreecommitdiffstats
path: root/parser.c
diff options
context:
space:
mode:
authorltoetsch <>2001-03-02 10:19:07 +0000
committerltoetsch <>2001-03-02 10:19:07 +0000
commite7b60f4d16ba5efc71e23a262557165f524c55dc (patch)
treedfe885cda929c762f925459565ec3382c689e4d0 /parser.c
parent2adc4c99b0b8c52047ab08c41c782802e0ae24e7 (diff)
downloadlcd4linux-e7b60f4d16ba5efc71e23a262557165f524c55dc.tar.gz
[lcd4linux @ 2001-03-02 10:18:03 by ltoetsch]
added /proc/apm battery stat
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/parser.c b/parser.c
index 2275923..fb3f3be 100644
--- a/parser.c
+++ b/parser.c
@@ -1,4 +1,4 @@
-/* $Id: parser.c,v 1.10 2001/02/19 00:15:46 reinelt Exp $
+/* $Id: parser.c,v 1.11 2001/03/02 10:18:03 ltoetsch Exp $
*
* row definition parser
*
@@ -20,6 +20,9 @@
*
*
* $Log: parser.c,v $
+ * Revision 1.11 2001/03/02 10:18:03 ltoetsch
+ * added /proc/apm battery stat
+ *
* Revision 1.10 2001/02/19 00:15:46 reinelt
*
* integrated mail and seti client
@@ -145,6 +148,9 @@ static SYMTAB Symtab[] = {{ "%", T_PERCENT, C_GENERIC, 0 },
{ "tm", T_PPP_MAX, C_PPP, 1 },
{ "hc", T_SETI_PRC, C_SETI, 1 },
{ "ht", T_SETI_CPU, C_SETI, 0 },
+ { "bp", T_BATT_PERC, C_BATT, 1 },
+ { "bs", T_BATT_STAT, C_BATT, 0 },
+ { "bd", T_BATT_DUR, C_BATT, 0 },
{ "e*", T_MAIL, C_MAIL, 0 },
{ "s*", T_SENSOR, C_SENSOR, 1 },
{ "", -1, 0 }};