summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-12-02 16:07:56 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-12-02 16:07:56 +0000
commitae22de285e027b81068e6d408077878add2e40f1 (patch)
treecb1e47566a203e19b3b01b8ea4cec6df1276cfc5 /apps/settings.h
parent7249c8807c6e8f9d083d3909863097e8a44cc4fe (diff)
downloadrockbox-ae22de285e027b81068e6d408077878add2e40f1.tar.gz
rockbox-ae22de285e027b81068e6d408077878add2e40f1.zip
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
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 8399874016..6d3678f44c 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -131,6 +131,8 @@ struct user_settings
131 bool browse_current; /* 1=goto current song, 131 bool browse_current; /* 1=goto current song,
132 0=goto previous location */ 132 0=goto previous location */
133 133
134 int runtime; /* current runtime since last charge */
135 int topruntime; /* top known runtime */
134}; 136};
135 137
136/* prototypes */ 138/* prototypes */