Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to use breathing led patterns
Adds two new runtime configuration values * sw breathing enable flag * sw breathing battery level limit These can be modified with mcetool options --set-sw-breathing=<enabled|disabled> --set-sw-breathing-limit=<0 ... 100> The led patterns that are configured to use the fully on / fully off blinking mode supported by the pwm led controller will oscillate smoothly along the first half of sine wave. For the smooth transitions to work frequent timer wakeups are needed and the device can't be suspended. As this will increase the battery consumption the sw breathing happens only if breathing is enabled and battery level exceeds the limit or the device is connected to charger. [mce] Add option to use breathing led patterns. Contributes to JB#17229
- Loading branch information
Showing
6 changed files
with
347 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.