ChromeOS bot merged this change.
crosh/debugd: Add wifi_power_save command.
wifi_power_save <on | off>
Enable or disable WiFi power save mode.
With no parameter, show current mode.
This command is not persistent across system restarts.
Uses debugd to run iw to get/set the mode.
BUG=chromium:723084
TEST=crosh and debugd tests
TEST=turn power save on and off using crosh on pyro
Change-Id: I3a0d3d8f5ec7394991f66822132eb98112bce502
Reviewed-on: https://chromium-review.googlesource.com/556883
Commit-Ready: Edward Hill <ec...@chromium.org>
Tested-by: Edward Hill <ec...@chromium.org>
Reviewed-by: Jorge Lucangeli Obes <jor...@chromium.org>
---
M crosh/crosh
M debugd/dbus_bindings/org.chromium.debugd.xml
M debugd/debugd.gyp
M debugd/src/debugd_dbus_adaptor.cc
M debugd/src/debugd_dbus_adaptor.h
A debugd/src/wifi_power_tool.cc
A debugd/src/wifi_power_tool.h
7 files changed, 169 insertions(+), 6 deletions(-)
To view, visit change 556883. To unsubscribe, visit settings.