Commit Graph

9 Commits

Author SHA1 Message Date
Dawid Wojtas
70d3ba4c03 [BH-1935] Fix the backlight in pre-wake up
If the chime is before the backlight we need to ignore
keys. Otherwise the back button will run the backlight.
2024-04-15 14:29:55 +02:00
Lefucjusz
4b66a8974f [BH-1782] Add brightness fade in
* Added brightness fade in - feature
which allows for gradual frontlight
brightness rise during alarm and
power nap ringing instead of turning
on with full brightness immediately.
* Fixed possibility to close
ringing power nap by long press
of back button.
2023-11-28 10:11:26 +01:00
Dawid Wojtas
79e1688149 [BH-1574][BH-1614] Fix the bedside lamp and brightness in the alarm
Now the bedside lamp has lower priority
than the pre-wake up and main alarm. It means
that front light will be changed according
to alarm settings.

Fix front light brightness calculation for
pre-wake up and main alarm.
2022-12-06 12:42:23 +01:00
Paweł Joński
9d6769d82c [BH-1509] Frontlight wont flash on snooze
Frontlight wont flash on snooze when alarm light is off
and automatic frontlight mode is on
2022-07-07 13:36:33 +02:00
wojtekrzepecki
8513eaaef5 [EGD-7900] Fix backlight behavior
Cumulated fixes for both screen and keypad light
2021-11-23 09:15:45 +01:00
Paweł Joński
8306591997 [BH-1030] Frontlight ramp
Frontlight ramp
2021-11-19 14:10:44 +01:00
Piotr Tański
39718a08ea [BH-903] Pre-wake up frontlight
Implemented a frontlight handling for the pre-wake up.
Major clean-up of the frontlight implementation.
2021-10-13 19:28:53 +02:00
Paweł Joński
5ad878c6c4 [BH-371] Replace gsl with mainline submodule and move to third-party
Replacing loose gsl files with gsl mainline project as submodule
and moving it to third-party
2021-06-07 09:30:04 +02:00
Michał Kamoń
ce0cb23abd [EGD-6794] Fix display light settings
This commit provides the flowing fixes in display light functionality:
 - Settings-path bug causing lack of display light settings on "fresh"
 image. Solved with proper paths definition
 - Invalid settings after phone restart. Solved with proper handling
 of enums and booleans on the Event manager side.
 - No turning off light just after turning on light functionality with
 manual brightness setting in ApplicationSettings bug (required
 another key press to start timer that turns off the light after 5s).
 Solved by starting timer explicitly on Action::turnOn
 - No turning off light just after turning on the phone bug (required
 --as above --). Solved by starting timer explicitly on `Settings
 ValueChange` callback with Action::turnOn.
 - No autoMode until user entered `AppSettings::DisplayLight` Window.
 Bug caused by curve parameters being provided by the window rather
 than on the functionality back-end initialization.

 Commit also provides some code cleanup
2021-05-31 10:43:26 +02:00