chore: cleanup
This commit is contained in:
parent
08f5a3b713
commit
0255c3f55b
1 changed files with 0 additions and 1 deletions
|
|
@ -299,7 +299,6 @@ impl<M: From<Message> + Send + 'static> Common<M> {
|
|||
}
|
||||
Message::PowerInfo(power_info_opt) => {
|
||||
if let Some((level, on_battery, threshold_enabled)) = power_info_opt {
|
||||
tracing::error!("power level: {}", level);
|
||||
self.charging_limit = Some(threshold_enabled);
|
||||
self.update_battery(level, on_battery);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue