refactor: Remove dead code in battery module (#405)
This commit is contained in:
parent
690300239b
commit
08340328dd
|
@ -56,7 +56,6 @@ pub fn module<'a>(context: &'a Context) -> Option<Module<'a>> {
|
||||||
log::debug!("Unhandled battery state `{}`", state);
|
log::debug!("Unhandled battery state `{}`", state);
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
_ => return None,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut percent_string = Vec::<String>::with_capacity(2);
|
let mut percent_string = Vec::<String>::with_capacity(2);
|
||||||
|
|
Loading…
Reference in New Issue