summaryrefslogtreecommitdiff
path: root/firmware/target/arm/ipod/power-ipod.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2009-02-21 11:10:50 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2009-02-21 11:10:50 +0000
commitc567fc9be20d12b9f6e246dffa99472b66677c28 (patch)
tree20cb2bec2853c8c9b9d8c08368b1dd2efce40e8c /firmware/target/arm/ipod/power-ipod.c
parent34e120928447d4afbaae1fac2477f1975a100e0c (diff)
downloadrockbox-c567fc9be20d12b9f6e246dffa99472b66677c28.tar.gz
rockbox-c567fc9be20d12b9f6e246dffa99472b66677c28.zip
Submit FS#9890 by Boris Gjenero. Enabling option for iPod Video to shut down LCD and BCM (controller) after backlight was switched off. With this option the user can decide whether to keep the transflective LCD switched on (e.g. during daylight use) or to switch it off (to save power). The power saving is extreme and increases the battery runtime by far (measured >30%).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20076 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/ipod/power-ipod.c')
-rw-r--r--firmware/target/arm/ipod/power-ipod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/ipod/power-ipod.c b/firmware/target/arm/ipod/power-ipod.c
index 4c6df882c6..66d703859c 100644
--- a/firmware/target/arm/ipod/power-ipod.c
+++ b/firmware/target/arm/ipod/power-ipod.c
@@ -130,7 +130,7 @@ bool ide_powered(void)
130 130
131void power_off(void) 131void power_off(void)
132{ 132{
133#if defined(HAVE_LCD_COLOR) 133#if defined(HAVE_LCD_COLOR) && !defined(HAVE_LCD_SHUTDOWN)
134 /* Clear the screen and backdrop to 134 /* Clear the screen and backdrop to
135 remove ghosting effect on shutdown */ 135 remove ghosting effect on shutdown */
136 lcd_set_backdrop(NULL); 136 lcd_set_backdrop(NULL);