commit | 0818cca76b252080dc78f10e6c4c7c4580a226fc | [log] [tgz] |
---|---|---|
author | Daniel Erat <derat@chromium.org> | Fri Dec 14 10:16:21 2012 -0800 |
committer | Gerrit <chrome-bot@google.com> | Fri Dec 21 20:56:56 2012 -0800 |
tree | 4bb71d64800ee4c60b93ab9c11450623eb01fb4d | |
parent | ab9364ea3172ab96769ecfb753cd49c6c04f76dd [diff] |
shill: Use new power manager suspend delay methods. This updates shill to use protocol-buffer-based calls to register its suspend delay with powerd. BUG=chromium-os:36980 TEST=unit tests pass. watched /var/log/power_manager/powerd.LATEST on device with active cellular modem: - suspend delay with 4500 ms timeout is registered - shill notifies powerd about readiness before suspending - suspend delay is unregistered and then re-added after resuming CQ-DEPEND=Ibf13a1c338f214cb534d7c79191846c82d90cc0b Change-Id: I7b6e7b713ea426eafed85447b8d6a774201033a5 Reviewed-on: https://gerrit.chromium.org/gerrit/39850 Commit-Queue: Daniel Erat <derat@chromium.org> Reviewed-by: Daniel Erat <derat@chromium.org> Tested-by: Daniel Erat <derat@chromium.org>