From 82785295f9e5ede724fc7b4cdf0ebbb827ad5b43 Mon Sep 17 00:00:00 2001 From: Uwe Freese Date: Sat, 14 Dec 2002 15:47:34 +0000 Subject: new charge state variable git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2990 a1c6a512-1295-4272-9138-f99709370657 --- firmware/powermgmt.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'firmware/powermgmt.h') diff --git a/firmware/powermgmt.h b/firmware/powermgmt.h index 21bdb9c4fb..f2f3a0ef94 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 */ -- cgit v1.2.3