idle percent calculation fix