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.
TEST=manual: used brightness keys and then ran tool with AC
plugged and unplugged
Commit-Queue: Daniel Erat <email@example.com>
Tested-by: Daniel Erat <firstname.lastname@example.org>
Reviewed-by: Todd Broch <email@example.com>
10 files changed