mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 17:41:54 +00:00
In theory this should be done by a kernel driver, but there is already a suspend hook so it is easy to have the EC turn off the backlight if it is not done by the host. BUG=none TEST=manual 1) boot Link device 2) log in and run 'powerd_suspend' 3) observe that keyboard backlight is turned off Change-Id: I10b83505d681f5b6d9cb32c1bef62dc21dd038e1 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/27721 Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>