brillo: Test required power management interfaces present
Add test brillo_PowerMgmtInterfaces, which verifies the power management
interfaces required by the DPS are present:
* kernel wakelocks: verify the wakelock sysfs interface is present.
N.B.: It is not possible to build a brillo kernel without support.
* cpufreq: verify CPU 0's cpufreq sysfs interface is present, and has
at least one scaling governor available.
* cpuidle: verify the cpuidle sysfs interface is present and a cpuidle
driver is registered.
This test is added to the Brillo BVT, but not smoke tests, as the Brillo
emulator does not meet all of the above requirements.
Commit-Ready: Todd Poynor <firstname.lastname@example.org>
Tested-by: Todd Poynor <email@example.com>
Reviewed-by: Dan Erat <firstname.lastname@example.org>
2 files changed