Merge branch 'poll' into 'master'

up-daemon: poll to refresh device when device changed

See merge request upower/upower!298
This commit is contained in:
ZZyVSmOzMz OZaAEBlUIZ 2025-12-17 08:57:15 +00:00
commit 9b227e46f3

View file

@ -176,6 +176,7 @@ up_daemon_update_display_battery (UpDaemon *daemon)
gboolean charge_threshold_enabled = FALSE;
device = g_ptr_array_index (array, i);
up_device_refresh_internal (device, UP_REFRESH_POLL);
g_object_get (device,
"is-present", &present,
"type", &kind,