sdm660-common: light: Set saner ramp values

Change-Id: Idf8053945cb9cfc15d4d401ec0e78953d3f3b051
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
This commit is contained in:
Demon Singur 2020-01-08 21:58:22 +01:00 committed by OdSazib
parent 604c8b8600
commit 3109aa6db9
No known key found for this signature in database
GPG key ID: CB336514F9F5CF69

View file

@ -48,8 +48,8 @@ using ::android::base::WriteStringToFile;
constexpr auto kDefaultMaxLedBrightness = 255;
constexpr auto kDefaultMaxScreenBrightness = 4095;
// Each step will stay on for 100ms by default.
constexpr auto kRampStepDuration = 100;
// Each step will stay on for 150ms by default.
constexpr auto kRampStepDuration = 150;
// Each value represents a duty percent (0 - 100) for the led pwm.
constexpr std::array kBrightnessRamp = {0, 12, 25, 37, 50, 72, 85, 100, 85, 72, 50, 37, 25, 12, 0};