GoogleGit

commit3c4f66648d74fea0937478042c26c4e729d47e58[log][tgz]
authorBill Richardson <wfrichar@chromium.org>Fri Sep 21 16:36:05 2012 -0700
committerGerrit <chrome-bot@google.com>Mon Sep 24 10:56:50 2012 -0700
tree925ce1917e62b01b298733c973b49185f4cea0cc
parentef71b1a3e56efb86b888edc6c04240f3eb970bd2[diff]
Use two-color lightbar scheme, with KB backlight for brightness

Yet another set of tweaks to the lightbar patterns:

At Startup or wake from sleep, Google colors cycle in.

While running, > 25% power level in the battery:
All blue, in a breathing effect (cycle up and down 30%).

While running, <= 25% power level in battery:
Same as above, but with red

Shutting down, or going into sleep:
Cycle out the Google colors (Note: the effect is only visible for S0->S3,
because shutting down kills power to the lightbar before we can react).

While sleeping:
Similar to now, but only using Blue and red for battery indication as above.

The EC doesn't have access to the ALS, so we use the keyboard backlight to
control the lightbar brightness instead:

If keyboard backlight is OFF (which it is when ambient is bright), use max
brightness for lightbar.

If keyboard backlight is ON, use keyboard backlight brightness.

BUG=chrome-os-partner:13870
BRANCH=Link
TEST=none

This is an aesthetic change. Nothing to test, only artisitic criticism.

Change-Id: Ib0b98eef18984945a83e988588c225025c4e8e52
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/33824
Reviewed-by: Randall Spangler <rspangler@chromium.org>
2 files changed
tree: 925ce1917e62b01b298733c973b49185f4cea0cc
  1. .gitignore
  2. LICENSE
  3. Makefile
  4. Makefile.rules
  5. Makefile.toolchain
  6. PRESUBMIT.cfg
  7. README
  8. README.fmap
  9. board/
  10. chip/
  11. common/
  12. core/
  13. include/
  14. test/
  15. util/