forked from external/yambar
module/battery: debug log when updating due to udev notification
This commit is contained in:
parent
a342e036ad
commit
6220a07aaf
1 changed files with 2 additions and 1 deletions
|
@ -501,7 +501,8 @@ run(struct module *mod)
|
|||
if (!udev_for_us) {
|
||||
LOG_DBG("udev notification not for us (%s != %s)",
|
||||
m->battery, sysname != sysname ? sysname : "NULL");
|
||||
}
|
||||
} else
|
||||
LOG_DBG("triggering update due to udev notification");
|
||||
|
||||
udev_device_unref(dev);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue