upower/src
Armin Wolf 25303ba527 up-device-battery: Prefer "Standard" over "Fast" charging
When disabling the charging threshold feature upower will change the
charging strategy from "Long Life" to "Fast" if a battery supports
"Long Life", "Standard" and "Fast". This behavior is suboptimal
because "Fast" charging might wear down the battery over time, while
"Standard" is supposed to be used as the safe default.

Fix this by preferring "Standard" over "Fast" charging in such
situations.

Resolves: #344
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
2026-04-20 12:29:27 +02:00
..
bsd build: Remove autotools 2021-09-06 14:06:40 +02:00
dummy Fix trailing white space and end of file 2025-01-08 14:01:34 +08:00
freebsd Fix trailing white space and end of file 2025-01-08 14:01:34 +08:00
linux up-device-battery: Prefer "Standard" over "Fast" charging 2026-04-20 12:29:27 +02:00
openbsd openbsd: add support to fetch battery status from qcpas 2025-06-05 17:03:02 +08:00
meson.build build: Make installation of tests optional 2025-09-16 15:25:49 +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 Fix trailing white space and end of file 2025-01-08 14:01:34 +08: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: introduce the ExpectBatteryReCalibration for battery recalibration 2025-12-15 14:19:13 +08:00
up-config.h Support fractional battery percent. 2024-09-12 15:55:00 +08:00
up-constants.h battery: User power/current reading from battery 2022-07-21 11:06:49 +02:00
up-daemon.c up-daemon: Report UP_DEVICE_LEVEL_NONE when battery is performing recalibration 2025-12-15 14:19:13 +08:00
up-daemon.h Fix typo: deamon -> daemon 2024-08-23 08:30:22 +02:00
up-device-battery.c up-device-battery: set up charge-threshold-settings-supported property 2025-08-11 15:05:10 +08:00
up-device-battery.h up-device-battery: set up charge-threshold-settings-supported property 2025-08-11 15:05:10 +08:00
up-device-kbd-backlight.c up-device-kbd-backlight: The parent class for keyboard backlight control 2025-09-05 11:49:38 +08:00
up-device-kbd-backlight.h up-device-kbd-backlight: The parent class for keyboard backlight control 2025-09-05 11:49:38 +08:00
up-device-list.c up-device-list: Introduce the UpDeviceKbdBacklight object 2025-09-05 11:49:38 +08:00
up-device-list.h Fix trailing white space and end of file 2025-01-08 14:01:34 +08:00
up-device.c up-device: Implement storage and retrieval of historical voltage data 2026-01-05 12:34:44 +02:00
up-device.h daemon: Get and store env override configurations in the deamon 2024-08-22 14:20:33 +08: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 up-history: Store and retrieve historical data for voltage 2026-01-05 12:34:44 +02:00
up-history.h up-history: Store and retrieve historical data for voltage 2026-01-05 12:34:44 +02: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 daemon: Fix memory leak when reporting usage error 2025-05-27 19:20:53 -07:00
up-native.h Fix trailing white space and end of file 2025-01-08 14:01:34 +08:00
up-polkit.c Fix spelling issues with codespell 2025-01-08 14:01:34 +08:00
up-polkit.h Fix trailing white space and end of file 2025-01-08 14:01:34 +08:00
up-self-test.c up-self-test: Add historical voltage data support 2026-01-05 12:39:22 +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