summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-07-15 05:24:34 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-07-15 05:24:34 +0000
commit272d6f11cde5f963e8fc4892db60943edd259672 (patch)
treefde5445679c587408be9e7ebb5c36d67a3ab8934
parent246391de2cdcf45c438cccccae75055ca54471b3 (diff)
downloadrockbox-272d6f11cde5f963e8fc4892db60943edd259672.tar.gz
rockbox-272d6f11cde5f963e8fc4892db60943edd259672.zip
Now turns off the backlight when the sleeptimer expires with the charger attached
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4884 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/powermgmt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index c321f60d04..a093fe2ac8 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -342,6 +342,7 @@ static void handle_auto_poweroff(void)
342 { 342 {
343 DEBUGF("Sleep timer timeout. Stopping...\n"); 343 DEBUGF("Sleep timer timeout. Stopping...\n");
344 set_sleep_timer(0); 344 set_sleep_timer(0);
345 backlight_off(); /* Nighty, nighty... */
345 } 346 }
346 else 347 else
347 { 348 {