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

Improve battery bar colors #157

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

Conversation

FantasyTeddy
Copy link

This change fixes #145, however I did not quite implement it as suggested.

The battery color will behave as follows:

  • If the battery percentage is below 20% it will display the bar in red.
  • If it is between 20% and 40% it will display the entire bar in yellow.
  • If it is higher than 40% it will display the entire bar in green.

I am also not completely sold with my choice of $reverseColor for the parameter name...

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.

Battery bar indicator color enhancement
1 participant