New CL to provide dut-power control (crrev.com/c/915643) adds a new stats_manager implementation similar to the one provided for sweetberry here (https://chromium.googlesource.com/chromiumos/platform/ec/+/master/extra/usb_power/stats_manager.py).
Additionally, dut-control also has some logic like this inside of it (the source of the code really).
Once the new CL is established, consolidate implementations to just have one code that provides this functionality.
The additional implementation for dut-power is because
- the code is needed in the hdctools repo
- statsmanager needed some more functionality
This might get resolved once we figure out how to either build together, or integrate sweetberry code into hdctools, but if not, we should still look into how to consolidate that code.
Comment 1 by coconutruben@chromium.org
, Jul 25Status: Started (was: Available)