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

Support charging battery icons #4

Open
justinhj opened this issue Aug 18, 2022 · 0 comments
Open

Support charging battery icons #4

justinhj opened this issue Aug 18, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@justinhj
Copy link
Owner

In battery.lua you will find

local charging_battery_icons

For this task add user configuration option to toggle the use of icons that have the charging symbol on them when the AC power is connected.

The structure is a list of icons and the max power required to show that icon. You can check the vertical icon handling code to see how to implement for other icons.

local function discharging_battery_icon_for_percent(p)
@justinhj justinhj added enhancement New feature or request good first issue Good for newcomers labels Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant