Change the type of "free_capacity_gb" to be float

Change the type of "free_capacity_gb" from string to float
in function _get_free_capacity.

Fix bug: 1177678
Change-Id: If2654fc3ad6b3dbea6a8cc0be7ae041ad30bf876