From ae22de285e027b81068e6d408077878add2e40f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Stenberg?= Date: Mon, 2 Dec 2002 16:07:56 +0000 Subject: Added two simple battery runtime meters (current + top). 'Current' resets automatically when the charger cable is connected, or manually by pressing PLAY in the viewer. We are now officially out of RTC space. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2897 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/settings.h') diff --git a/apps/settings.h b/apps/settings.h index 8399874..6d3678f 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -131,6 +131,8 @@ struct user_settings bool browse_current; /* 1=goto current song, 0=goto previous location */ + int runtime; /* current runtime since last charge */ + int topruntime; /* top known runtime */ }; /* prototypes */ -- cgit v1.1