diff options
| author | Uwe Freese <thebreaker@rockbox.org> | 2002-12-14 15:47:34 +0000 |
|---|---|---|
| committer | Uwe Freese <thebreaker@rockbox.org> | 2002-12-14 15:47:34 +0000 |
| commit | 82785295f9e5ede724fc7b4cdf0ebbb827ad5b43 (patch) | |
| tree | 5523e931f8ad609102e60ffc34a1c96474c5a513 | |
| parent | 34299df8c84b8c6f58e3f7c2b9b5057ffc6e56dd (diff) | |
| download | rockbox-82785295f9e5ede724fc7b4cdf0ebbb827ad5b43.zip rockbox-82785295f9e5ede724fc7b4cdf0ebbb827ad5b43.tar.gz rockbox-82785295f9e5ede724fc7b4cdf0ebbb827ad5b43.tar.bz2 rockbox-82785295f9e5ede724fc7b4cdf0ebbb827ad5b43.tar.xz | |
new charge state variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2990 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/powermgmt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/powermgmt.h b/firmware/powermgmt.h index 21bdb9c..f2f3a0e 100644 --- a/firmware/powermgmt.h +++ b/firmware/powermgmt.h @@ -7,7 +7,7 @@ * \/ \/ \/ \/ \/ * $Id$ * - * Copyright (C) 2002 by Heikki Hannikainen + * Copyright (C) 2002 by Heikki Hannikainen, Uwe Freese * * All files in this archive are subject to the GNU General Public License. * See the file COPYING in the source tree root for full license agreement. @@ -58,6 +58,7 @@ extern int powermgmt_last_cycle_level; /* which level had the batteries extern int battery_lazyness[20]; /* how does the battery react when plugging in/out the charger */ extern int trickle_sec; /* trickle charge: How many seconds per minute are we charging actually? */ +extern int charge_state; /* tells what the charger is doing (for info display): 0: decharging/charger off, 1: charge, 2: top-off, 3: trickle */ #endif /* HAVE_CHARGE_CTRL */ |