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
This commit is contained in:
Andree Buschmann 2009-02-21 11:10:50 +00:00
parent 34e1209284
commit c567fc9be2
5 changed files with 314 additions and 27 deletions

View file

@ -29,6 +29,10 @@ void _backlight_led_on(void);
void _backlight_led_off(void);
void _backlight_hw_enable(bool on);
#ifdef HAVE_LCD_SLEEP
void lcd_awake(void);
#endif
#ifdef BOOTLOADER
#define _backlight_on() do { _backlight_hw_enable(true); \
_backlight_led_on(); } while(0)