Function penrose_ui::bar::widgets::sys::refresh::battery_summary

source ยท
pub fn battery_summary(bat: &'static str, style: TextStyle) -> RefreshText
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.