GoogleGit

commit5b6134d7040f60c1b90e71f394ab393e2ef007bc[log][tgz]
authorDaniel Erat <derat@chromium.org>Tue Sep 10 16:36:33 2013 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>Wed Sep 11 19:45:20 2013 +0000
tree10d699fdd74af018d7ec86316b94afe8bd7c3b73
parentf8ebe36abba41c3796cd5ffa6e5efb73c60722c6[diff]
power: Add get_powerd_initial_backlight_level.

This adds a helper program that exercises enough powerd code
to print the default backlight brightness level.

It's intended to be used by battery-life tests that need to
stop the powerd process but also want to use the brightness
that would be set by default on a given system.

BUG=chromium:288793
TEST=manual: used brightness keys and then ran tool with AC
     plugged and unplugged

Change-Id: I1838ff907bb973aa9050c15239592f051d53ef12
Reviewed-on: https://chromium-review.googlesource.com/168843
Commit-Queue: Daniel Erat <derat@chromium.org>
Tested-by: Daniel Erat <derat@chromium.org>
Reviewed-by: Todd Broch <tbroch@chromium.org>
10 files changed
tree: 10d699fdd74af018d7ec86316b94afe8bd7c3b73
  1. .gitignore
  2. LICENSE
  3. Makefile
  4. OWNERS
  5. README
  6. common.mk
  7. common/
  8. config/
  9. dbus/
  10. powerd/
  11. tools/
  12. udev/