Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added battery level indication #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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