mirror of
https://github.com/wez/wezterm.git
synced 2024-11-11 03:27:05 +03:00
fix typo in battery state value
This commit is contained in:
parent
ec12eed180
commit
8fd515d6fa
@ -287,7 +287,7 @@ fn battery_info<'lua>(_: &'lua Lua, _: ()) -> mlua::Result<Vec<BatteryInfo>> {
|
||||
model: opt_string(bat.model()),
|
||||
serial: opt_string(bat.serial_number()),
|
||||
state: match bat.state() {
|
||||
State::Charging => "charging",
|
||||
State::Charging => "Charging",
|
||||
State::Discharging => "Discharging",
|
||||
State::Empty => "Empty",
|
||||
State::Full => "Full",
|
||||
|
Loading…
Reference in New Issue
Block a user