upower/src
Benjamin Berg b4e9cd9739 daemon: Only refresh batteries when the "online" state changes
There is no need to refresh batteries if we just re-read the status of a
line power supply without actually seeing a change ("online" vs.
"update-time" property).

Fixes: #184
2022-05-16 09:14:07 +00: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 daemon: Stop passing UpDevice reference to the daemon 2022-05-10 19:19:08 +02:00
linux supply: Avoid emitting notification for line power changes 2022-05-16 09:14:07 +00:00
openbsd device: Flag refresh reason 2022-05-09 17:47:38 +02:00
meson.build meson: Bump meson version and fix deprecations 2022-05-10 15:39:24 +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-config.c Replace use of G_TYPE_INSTANCE_GET_PRIVATE 2019-02-21 12:09:06 +01:00
up-config.h daemon: Add helper to get string from config 2014-09-02 21:56:38 +02:00
up-constants.h supply: Use new polling infrastructure 2022-05-10 11:06:18 +02:00
up-daemon.c daemon: Only refresh batteries when the "online" state changes 2022-05-16 09:14:07 +00: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 device: Use modern macros for class declaration 2022-05-10 17:14:09 +02:00
up-device.h linux: Re-poll batteries after a line power change 2022-05-13 16:07:38 +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