summaryrefslogtreecommitdiff
path: root/util/nvramtool/cmos_ops.c
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@google.com>2018-10-15 15:10:21 -0700
committerDuncan Laurie <dlaurie@chromium.org>2018-10-31 18:30:38 +0000
commit4af38d440d1618e3e837aea016de30004a642e2c (patch)
tree5e643adfa82756f91d6d7d7087ba65f930c8264c /util/nvramtool/cmos_ops.c
parenta802be2910735c73f1b3c21dc837ce7750ed4ff7 (diff)
ec/google/wilco: Add ACPI battery and AC objects
Add the expected objects (_BST, _BIF, _BIX) for reading battery information and status from the embedded controller, and the expected objects for reporting AC power status. The battery was tested by booting with a battery attached and checking that it is present in /sys/class/power_supply/BAT0 and that the values are consistent and within expected ranges. The AC device was tested by checking the AC status in sysfs when AC is inserted or removed while the system is running. Change-Id: Ie996891c383c9e990736690aef9795512ad6d35a Signed-off-by: Duncan Laurie <dlaurie@google.com> Reviewed-on: https://review.coreboot.org/29123 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'util/nvramtool/cmos_ops.c')
0 files changed, 0 insertions, 0 deletions