Screen Saver + flash animation boot fixes#2284
Open
mokapi47 wants to merge 21 commits intoBruceDevices:devfrom
Open
Screen Saver + flash animation boot fixes#2284mokapi47 wants to merge 21 commits intoBruceDevices:devfrom
mokapi47 wants to merge 21 commits intoBruceDevices:devfrom
Conversation
Add Bw16Menu to main menu header
Add bw16Menu to MainMenu items
Add bw16 theme file and control boolean
Add bw16 theme entry to theme.cpp
Implement Bw16Menu functionality and drawing methods
Add Bw16Menu class header file
Add BW16Tool class and related structures
Only for t-embed for the moment, but other devices will come later.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I added a sleep function that turns off the screen with an animation, then turns it back on when a button is pressed. It consumes almost no power; I personally left my T-Embed CC1101 in sleep mode all night (at 3%) and it still had 3% battery the next day. I find the deep sleep mode much more convenient. I'm also going to try adding an animation for when it's completely shut down (deep sleep) and when it's turned on.
But I can't seem to stop it from using too much power, because right now my device's battery drains in 4 hours, which is quite annoying..