battery_summary

Function 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.