Skip to content

feature request: battery power switch events #4866

@44vladimirov

Description

@44vladimirov

Since version 0.14.0 user has the ability to call battery related events on-[status]-[state] and on-[status]-[capacity], which are easy to use for notifications of critical discharge for example. Another handy feasibility is to dismiss such notifications automatically only if the power has switched to charging mode.

Existing event types cannot be used for such goals since the power may switch during sleep and the transition is on-discharging-state1 to on-charging-state2 and furthermore may point to undefined charging state.

I propose to consider the introduction of power switch events on-[status], which are executed iff Waybar detects [status] switch.

Also there is #4849 that implements the feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions