Function penrose_ui::bar::widgets::sys::interval::battery_summary

source ยท
pub fn battery_summary(
    bat: &'static str,
    style: TextStyle,
    interval: Duration,
) -> IntervalText
Expand description

Display the current charge level and status of a named battery.

If the given battery name is not found on this system, this widget will render as an empty string.