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')
>>> c.power_normal_press()

Change-Id: Iec59390ff750996846afb01bd452520efb19335c
Commit-Ready: Wai-Hong Tam <>
Tested-by: Wai-Hong Tam <>
Reviewed-by: Aseda Aboagye <>
Reviewed-by: danny chan <>
Reviewed-by: Todd Broch <>
3 files changed