FS#8523 - Disable WPS updating when the backlight is off.
commit53bdf866e749647918debe6a720198441d5239a6
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Thu, 9 Apr 2009 08:30:05 +0000 (9 08:30 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Thu, 9 Apr 2009 08:30:05 +0000 (9 08:30 +0000)
treea3d08e368b32dfcae93ff71e36ddc0c4bd4e36c8
parent7ae685eb80b6efd01cc0411d9b5126dd5eaf2e78
FS#8523 - Disable WPS updating when the backlight is off.
Disables WPS updating when the lcd is inactive (sleep or disabled, backlight doesn't count in), which prevents a good deal of code from running uselessly.
According to tests, it can yield up to 1h more battery life in cases of heavy WPSes.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20666 a1c6a512-1295-4272-9138-f99709370657
apps/gui/gwps.c