Demote log level of max_charge_lvl check to debug
This commit is contained in:
parent
46659a474d
commit
a8ad9a9e62
1 changed files with 1 additions and 1 deletions
|
@ -585,7 +585,7 @@ impl OnPowerEvent for Battery {
|
||||||
}
|
}
|
||||||
.unwrap_or_else(|mut e| errors.append(&mut e));
|
.unwrap_or_else(|mut e| errors.append(&mut e));
|
||||||
let attr_exists = MAX_BATTERY_CHARGE_LEVEL_ATTR.exists(&*self.sysfs_hwmon);
|
let attr_exists = MAX_BATTERY_CHARGE_LEVEL_ATTR.exists(&*self.sysfs_hwmon);
|
||||||
log::info!("Does battery limit attribute (max_battery_charge_level) exist? {}", attr_exists);
|
log::debug!("Does battery limit attribute (max_battery_charge_level) exist? {}", attr_exists);
|
||||||
let mut charge_limit_set_now = false;
|
let mut charge_limit_set_now = false;
|
||||||
for ev in &mut self.events {
|
for ev in &mut self.events {
|
||||||
if attr_exists {
|
if attr_exists {
|
||||||
|
|
Loading…
Reference in a new issue