upower/src
Jelle van der Waa 16e373add0 up-device-battery: Enable and preserve the battery charging threshold config
It sets the battery start and end charging threshold to the kernel and also
saves the configuration in a file. If upower is restarted, upower
can recover the charging threshold setting through the configuration file.

The configuration file is based on the model name and serial number of the
battery so the battery can be configured individually.

Signed-off-by: Kate Hsuan <hpa@redhat.com>
2024-08-20 17:04:04 +08: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 Revert "all: Remove Lid handling" 2024-01-26 14:57:27 +00:00
linux linux: up-device-supply-battery: write the charging threshold to kernel 2024-08-15 23:21:01 +08:00
openbsd Revert "all: Remove Lid handling" 2024-01-26 14:57:27 +00:00
meson.build up-device-battery: Enable and preserve the battery charging threshold config 2024-08-20 17:04:04 +08: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 up-config: A config and warning message for Ignore as the CriticalPowerAction 2024-06-11 09:38:08 +00:00
up-config.h enumerator: Add UpEnumerator class and udev implementation 2022-05-16 15:48:09 +02:00
up-constants.h battery: User power/current reading from battery 2022-07-21 11:06:49 +02:00
up-daemon.c Revert "all: Remove Lid handling" 2024-01-26 14:57:27 +00:00
up-daemon.h Revert "all: Remove Lid handling" 2024-01-26 14:57:27 +00:00
up-device-battery.c up-device-battery: Enable and preserve the battery charging threshold config 2024-08-20 17:04:04 +08:00
up-device-battery.h linux: up-device-supply-battery: write the charging threshold to kernel 2024-08-15 23:21:01 +08: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 up-device: Remove history only on device id change 2024-03-05 16:27:16 +08:00
up-device.h device: Add up_device_is_registered() 2023-07-05 17:39:19 +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 Stop using deprecated g_get_current_time 2024-03-13 08:59:46 +01:00
up-history.h up-history: Compare the history id with a given string 2024-03-05 16:27:16 +08: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-integration.test.in linux: Add installed-tests manifest 2023-07-06 10:31:46 +02:00
upower.service.in Harden systemd service 2019-04-05 13:16:45 +03:00