forked from enlightenment/enlightenment
parent
936d65abc6
commit
cf7e7abbcb
|
@ -31,7 +31,7 @@ _battery_udev_start(void)
|
|||
|
||||
if (!battery_config->batwatch)
|
||||
battery_config->batwatch = eeze_udev_watch_add(EEZE_UDEV_TYPE_POWER_BAT, EEZE_UDEV_EVENT_NONE, _battery_udev_event_battery, NULL);
|
||||
if (!battery_config->batwatch)
|
||||
if (!battery_config->acwatch)
|
||||
battery_config->acwatch = eeze_udev_watch_add(EEZE_UDEV_TYPE_POWER_AC, EEZE_UDEV_EVENT_NONE, _battery_udev_event_ac, NULL);
|
||||
|
||||
init_time = ecore_time_get();
|
||||
|
|
Loading…
Reference in New Issue