Currently percentage is directly mapped to register value. Check calculation and apply correct transformation.