add getStorageFree API