by Dave Rawle
Fix for Mi 9 lite Auto brightness which goes very low requiring constant manual adjustment. After adjustment the brightness ramps up rapidly reaching maximum far to early. This 3 stage brightness control covers low, medium and high ambient light conditions.
Although for Mi 9 lite it should work on other models, maybe with some modification to the values.