I had a quick browse in the code. You need to set $args['percent']. So, add 'used' (+= , not .=) and then recalculate $args['percent'] based on $args['total'] and set that as well.
That works. Tried it myself.
Cor
List info: http://lists.roundcube.net/dev/