[moblab] Update disk check

Change desired disk state to 100GB total storage and
at least 30% free space. Total disk space is checked
by adding together total size of the stateful_partition
and any correctly configured USB MOBLAB-STORAGE.

Refactored the error codes to be more readable.

BUG=chromium:644504
TEST=Test on local moblab device, with and without USB

Change-Id: I9bc83009a8ec6a6ea3ce85c8167f9ea9fd265992
Reviewed-on: https://chromium-review.googlesource.com/937987
Commit-Ready: Matt Mallett <mattmallett@chromium.org>
Tested-by: Matt Mallett <mattmallett@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
2 files changed
tree: 18d069916e5a4080e48da151a90987269b5377a2
  1. OWNERS
  2. partner_ui/
  3. scripts/
  4. src/