ccd: Get the power button state from Cr50 console
In the lab, it checks the power button state to verify the health
between DUT and servo. Though, setting power button in Cr50 console
doesn't work on all platforms, getting its value is fine. So add
back its get method.
TEST=Started servod and run "dut-control pwr_button"
TEST=Started servod and calls the servod RPC calls:
>>> import xmlrpclib
>>> c = xmlrpclib.ServerProxy('http://localhost:9999')
Commit-Ready: Wai-Hong Tam <email@example.com>
Tested-by: Wai-Hong Tam <firstname.lastname@example.org>
Reviewed-by: Aseda Aboagye <email@example.com>
Reviewed-by: danny chan <firstname.lastname@example.org>
Reviewed-by: Todd Broch <email@example.com>
3 files changed