Skip to content

Add battery indicator to top middle of display for PiSugar 3 Plus.#8

Open
geerlingguy wants to merge 1 commit intocomputerequipmentgroup:mainfrom
geerlingguy:battery-indicator
Open

Add battery indicator to top middle of display for PiSugar 3 Plus.#8
geerlingguy wants to merge 1 commit intocomputerequipmentgroup:mainfrom
geerlingguy:battery-indicator

Conversation

@geerlingguy
Copy link
Copy Markdown
Contributor

Fixes #4.

This is how the battery indicator looks without a camera plugged in:

DSC04629

And with a camera plugged in:

DSC04628

I didn't implement 'percentage fill' on the battery icon itself, right now the icon just remains fully filled no matter what. It would also be neat to make it change to a 'charging' icon when the battery is being charged, but didn't do that either. Just wanted to have the charge percentage easily visible, so I can test how long the PiSugar battery lasts.

I also haven't tested without the PiSugar battery attached, but it should skip the rendering code in that case.

@geerlingguy
Copy link
Copy Markdown
Contributor Author

Rebased with new repository structure.

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.

Support PiSugar with battery level indicator

1 participant