You cannot retrieve the percentage, only calculate it. That's what windows does when it shows the percentage too. The percentage itself isn't stored.