SP.UsageInfo.storagePercentageUsed Property
Applies to: SharePoint Foundation 2010
Gets a value that specifies the ratio of the amount of disk space currently being used by the site collection to the maximum disk space specified in the site collection quota.
var value = SP.UsageInfo.get_storagePercentageUsed();
Property Value
Type: Double