diff options
author | Hristo Kovachev <bger@rockbox.org> | 2006-01-25 18:29:56 +0000 |
---|---|---|
committer | Hristo Kovachev <bger@rockbox.org> | 2006-01-25 18:29:56 +0000 |
commit | 495c63f867a35ac2e6aab92a530a46b3ef5143b1 (patch) | |
tree | 24c4188728a3e1c5196506eab29978f5e5c4ac49 /firmware/export | |
parent | 4781f1461fd7d3f91bea4ff84ca20b5e58ff53e3 (diff) |
New "battery benchmark" plugin by Alexander Spyridakis, modified a bit by me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8451 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/powermgmt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/powermgmt.h b/firmware/export/powermgmt.h index 377ce1ab71..a5dbcd10bd 100644 --- a/firmware/export/powermgmt.h +++ b/firmware/export/powermgmt.h @@ -144,6 +144,8 @@ void powermgmt_init(void); int battery_level(void); int battery_time(void); /* minutes */ +unsigned int battery_voltage(void); /* filtered batt. voltage in centivolts */ + /* Tells if the battery level is safe for disk writes */ bool battery_level_safe(void); |