Skip to content

Added battery level indication#5

Open
TheBobBot wants to merge 1 commit intoArthurFDLR:masterfrom
TheBobBot:master
Open

Added battery level indication#5
TheBobBot wants to merge 1 commit intoArthurFDLR:masterfrom
TheBobBot:master

Conversation

@TheBobBot
Copy link

I added a (rough) battery level indication. The calculation is based on battery voltage levels for the MStickC I found online and could be improved with real-world data. The placement is convenient, but if one would use very long time intervals, it could overlap. Still, better than no indication!
I had to move the display update call out of the switch-case to constantly update the levels and had to add some more lines in the other functions as a consequence of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant