From dd265830cb56057280728ffbfbbcc2d62db127c4 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Tue, 15 Jun 2004 22:54:37 +0000 Subject: Added battery_level() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4748 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/plugin.c') diff --git a/apps/plugin.c b/apps/plugin.c index c950c665d0..c4fd101b16 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -41,6 +41,7 @@ #include "ata.h" #include "talk.h" #include "mp3data.h" +#include "powermgmt.h" #ifdef HAVE_LCD_BITMAP #include "widgets.h" @@ -166,6 +167,7 @@ static struct plugin_api rockbox_api = { atoi, get_time, plugin_get_buffer, + battery_level, /* new stuff at the end, sort into place next time the API gets incompatible */ -- cgit v1.2.3