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 <firstname.lastname@example.org>
Tested-by: Wai-Hong Tam <email@example.com>
Reviewed-by: Aseda Aboagye <firstname.lastname@example.org>
Reviewed-by: danny chan <email@example.com>
Reviewed-by: Todd Broch <firstname.lastname@example.org>
3 files changed