fix typo in battery state value

This commit is contained in:
Wez Furlong committed 2021-03-07 00:22:27 -08:00
1 parent ec12eed180
commit 8fd515d6fa
1 file changed
+1 -1
+1 -1
View File
@@ -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",