summaryrefslogtreecommitdiff
path: root/flash/bootbox/main.c
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2006-11-11 01:18:57 +0000
committerBarry Wardell <rockbox@barrywardell.net>2006-11-11 01:18:57 +0000
commit8d2711b7d2d9f19dc2375bd9395359ed725375ab (patch)
tree788f6dc4e010f7cf6eac2e3a5d3eebe2427fe06e /flash/bootbox/main.c
parentb3d2017057a47b1a5863d4e18e8d3eaf6a2fb63a (diff)
downloadrockbox-8d2711b7d2d9f19dc2375bd9395359ed725375ab.tar.gz
rockbox-8d2711b7d2d9f19dc2375bd9395359ed725375ab.zip
Improved power management (FS#3001). Shutdown rockbox when the battery gets to a level where the device doesn't function properly. Calculate remaining charging time while charging (rather than remaining running time). Show "Low Battery" and "Battery Empty" warnings. Also fixes FS#4786.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11507 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'flash/bootbox/main.c')
-rw-r--r--flash/bootbox/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/flash/bootbox/main.c b/flash/bootbox/main.c
index af822b4a64..e3af78e721 100644
--- a/flash/bootbox/main.c
+++ b/flash/bootbox/main.c
@@ -240,6 +240,10 @@ int audio_status(void)
240 return 0; 240 return 0;
241} 241}
242 242
243void audio_stop_recording(void)
244{
245}
246
243void mp3_shutdown(void) 247void mp3_shutdown(void)
244{ 248{
245} 249}