diff --git a/modules/battery.c b/modules/battery.c index a83f30e..90737a3 100644 --- a/modules/battery.c +++ b/modules/battery.c @@ -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); }