upower/src
Benjamin Berg f64210df4a daemon: Reevaluate polling timeout after resume
When polling is resumed the timeout needs to be reevaluated. This
requires running the polling handler once (in the next mainloop
iteration).

Set the ready time to zero to ensure this is happening. Without this, we
would be stuck without actually polling until we get a uevent from the
kernel on one of the power supplies.

Fixes: #198
2022-07-12 16:53:53 +02:00
..
bsd build: Remove autotools 2021-09-06 14:06:40 +02:00
dummy device: Handle device coldplug using GInitable 2022-04-20 14:30:00 +02:00
freebsd Move battery type decoding into common file 2022-06-07 16:07:03 +02:00
linux test: Fix flaky battery aggregation test 2022-07-12 16:51:24 +02:00
openbsd device: Flag refresh reason 2022-05-09 17:47:38 +02:00
meson.build common: Add a file with common helper 2022-05-25 15:32:29 +02:00
org.freedesktop.UPower.conf.in Remove Wakeups API 2022-03-24 17:02:27 +01:00
org.freedesktop.UPower.service.in Install a systemd service file if systemd is used 2012-01-17 11:08:18 +00:00
up-backend-bsd-private.h bsd: Add critical action support for *BSD 2015-07-07 17:10:38 +02:00
up-backend.h up-backend: add inhibitor lock interface 2021-08-17 14:12:19 +02:00
up-common.c Move battery type decoding into common file 2022-06-07 16:07:03 +02:00
up-common.h Move battery type decoding into common file 2022-06-07 16:07:03 +02:00
up-config.c Replace use of G_TYPE_INSTANCE_GET_PRIVATE 2019-02-21 12:09:06 +01:00
up-config.h enumerator: Add UpEnumerator class and udev implementation 2022-05-16 15:48:09 +02:00
up-constants.h supply: Consistently use 90% threshold to consider a battery full 2022-06-03 10:36:02 +02:00
up-daemon.c daemon: Reevaluate polling timeout after resume 2022-07-12 16:53:53 +02:00
up-daemon.h daemon: Remove old polling code 2022-05-10 11:06:18 +02:00
up-device-list.c daemon: Fix reference counting at daemon shutdown 2022-05-12 10:13:15 +02:00
up-device-list.h daemon: Fix reference counting at daemon shutdown 2022-05-12 10:13:15 +02:00
up-device.c enumerator: Add UpEnumerator class and udev implementation 2022-05-16 15:48:09 +02:00
up-device.h enumerator: Add UpEnumerator class and udev implementation 2022-05-16 15:48:09 +02:00
up-enumerator.c enumerator: Add UpEnumerator class and udev implementation 2022-05-16 15:48:09 +02:00
up-enumerator.h enumerator: Add UpEnumerator class and udev implementation 2022-05-16 15:48:09 +02:00
up-history.c history: Allow overriding history directory for testing 2022-05-10 11:06:18 +02:00
up-history.h UpHistory: Add method to set history dir 2010-11-04 23:29:34 -04:00
up-kbd-backlight.c UpKbdBacklight: Fix endless loop burning 100% CPU on keyboard plugout 2019-06-04 07:16:59 +00:00
up-kbd-backlight.h daemon: make UpKbdBacklight a subclass of UpExportedKbdBacklightSkeleton 2015-07-29 13:38:13 +01:00
up-main.c main: Handle SIGTERM in addition to SIGINT 2022-05-12 14:39:16 +02:00
up-native.h native: Remove unused up_native_test declaration 2022-04-01 11:47:41 +02:00
up-self-test.c device-list: Remove unnecessary native argument 2022-04-20 14:26:50 +02:00
upower.service.in Harden systemd service 2019-04-05 13:16:45 +03:00