[BH-2085] Set lower minimum brightness for Pro version * Added ENABLE_VERSION_PRO build flag that selects different config for 2 Pro device. * Reduced lowest brightness level for Pro 2 device. * Changed the format in which brightness values are stored in database - previously it was stored as PWM percentage, now 1-10 scale system level is used.
[BH-2069] Update license URL in headers Update outdated license file URL in license headers across all project.
[BH-2056] Add bedside lamp settings Added possibility to customize brightness and activity time of bedside lamp functionality.
[BH-2054] Fix build with CONFIG_ENABLE_TEMP set to ON * Fix of the issue that project build would fail if trying to run it with enabled temperature sensor. The sensor itself is not functional due to hardware issue, but if such option is present in the codebase, it should be kept working. * Cleanups.
[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.
[BH-1799] Refactor usage of unicasts to dispatch BatteryStatusChangeMessage Unicast type of sending BatteryStatusChangeMessage is changed to multicast type. Thanks to this, the flow of messages is more transparent and there is no unnecessary transmission to non-existent services.
[BH-1857] Fix improper PWM module clock frequency computation * Fix of the issue that source clock for PWM module was improperly assumed to be derived from AHB_CLK, while in reality it is derived from IPG_CLK, what resulted in module generating signal with 4 times lower frequency than the configured one. * Cleanups.
[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.
[BH-1696] Notification when connect the device to the charger Adding notifications when charger is connected
[MOS-669] Add too hot battery notification when charging * Added notification showing on the main screen if the battery has reached too high temperature to continue charging. * Code cleanups.
[BH-1774] Fix frequency lock during user activity - Sentinel locks the frequency when pressing buttons and the encoder. - The "user activity" sentinel will be properly managed by the system (CpuGovernor) just like other sentinels. - Adding information about active sentinels in the power management statistics logs
[BH-1761] Add a log when manual reset is performed If the user performs a manual reset there is no information in the logs. It can be treated as software resets. So the best solution is to add a log about incoming manual reset and dump all logs to the file.
[MOS-1026] Add extended logging to Pure's charger driver * Added extended logging to Pure's charger driver. * Removed redundant handling of INOKB pin interrupt - charger is configured to provide the same interrupt via INTB pin. * Minor code cleanup.
[BH-1412] Fix services dependencies Changes in dependecy managment Replacing state flags with states in ServiceGUI Unifying some parts of code
[MOS-30] Fix for Alarm not being handled properly during a phone call During the phone call, the alarm was not displayed and subsequent alarms after this scenario did not work. This has now been fixed and the alarm during a phone call will be automatically snooze.
[BH-1655] Fix memory leaks in clock faces and shortcuts Disable libphonenumber initialization since it is not used in Harmony but takes around 1.4MB of memory Add heap allocation statistics
[BH-1630] Turn off the device for low voltage The system closes only if the SoC is 0%, but it doesn't react if the voltage has low level. The new implementation invokes the close procedure if the voltage is less than 3.4V. This solution should avoid possiblity to hang the MCU.
[BH-1649] Reimplement I2C communication attempts The CW2015 driver should avoid any logic. Thus I2C communication attempts were moved to the BatteryCharger which is product specific.
[MOS-871] Loudspeaker icon is not updated when audio routing has changed Fix for the loudspeaker becomes active again when a headset is unplugged if it was on while the headset was connected to the phone. Fix typo in Bluetooth in EventType enum.
[MOS-905] Fix crash on power off with USB cable connected Fix of the issue that turning off the phone and clicking any keyboard button resulted in crash and reboot.