Files
OpenCellular/util
Dave Parker 88c0ffd692 ectool: Add back support for version 0 of batterycutoff command
ectool must support all prior versions of commands that shipped
EC binaries use.

BUG=chrome-os-partner:29830
BRANCH=None
TEST=Manual
With an EC that only supports version 0:
- Run 'ectool batterycutoff' -> success
- Run 'ectool batterycutoff at-shutdown' -> error with explicit
  message about at-shutdown not being supported
- Run 'ectool batterycutoff foo' -> error, bad parameter
With an EC that support version 0 or 1:
- Run 'ectool batterycutoff' -> success
- Run 'ectool batterycutoff at-shutdown' -> success
- Run 'ectool batterycutoff foo' -> error, bad parameter

Change-Id: Ia88cfc5fa7c5125828ec0595f0b6a505916c97ea
Signed-off-by: Dave Parker <dparker@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/205155
Reviewed-by: Vic Yang <victoryang@chromium.org>
2014-06-26 02:42:32 +00:00
..
2013-12-19 00:12:28 +00:00
2013-07-01 16:14:16 -07:00
2014-01-17 18:17:06 +00:00
2013-07-01 16:14:16 -07:00
2012-11-01 14:09:34 -07:00
2014-02-17 17:35:43 +00:00
2013-07-01 16:14:16 -07:00
2013-07-01 16:14:16 -07:00
2014-01-15 04:52:54 +00:00
2014-04-30 09:45:59 +00:00