Skip to content

feat(battery): add {eta} replacement for estimated end time - #5428

Open
davidemanini wants to merge 1 commit into
Alexays:masterfrom
davidemanini:format-eta2
Open

davidemanini wants to merge 1 commit into
Alexays:masterfrom
davidemanini:format-eta2

Conversation

@davidemanini

Copy link
Copy Markdown

What does this PR do?
Add an {eta} replacement, available in format and tooltip-format, showing the local clock time at which the battery is expected to be full or empty. It is formatted with the new format-eta option (an fmt chrono format spec, default "{:%H:%M}").

Checklist

  • Code is formatted with clang-format
  • Builds locally (ninja -C build)
  • Man page updated for any new/changed user-facing option (man/)
  • Tested against the affected module(s)

Add an {eta} replacement, available in format and tooltip-format,
showing the local clock time at which the battery is expected to be
full or empty. It is formatted with the new format-eta option (an fmt
chrono format spec, default "{:%H:%M}").
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