upower/src
Kate Hsuan fe83277fbe up-device-supply-battery: Explicitly define the battery energy/charge unit
Before, if the energy.full is very small, the energy unit will be changed
from engery_full to charge_full. Now, we explicitly choose one of them
when the udev attribute is found.

Fixes: https://gitlab.freedesktop.org/upower/upower/-/issues/253
2023-11-20 17:13:03 +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 all: Remove Lid handling 2023-07-06 11:09:42 +02:00
linux up-device-supply-battery: Explicitly define the battery energy/charge unit 2023-11-20 17:13:03 +08:00
openbsd all: Remove Lid handling 2023-07-06 11:09:42 +02:00
meson.build linux: Add installed-tests manifest 2023-07-06 10:31:46 +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 battery: User power/current reading from battery 2022-07-21 11:06:49 +02:00
up-daemon.c all: Remove Lid handling 2023-07-06 11:09:42 +02:00
up-daemon.h all: Remove Lid handling 2023-07-06 11:09:42 +02:00
up-device-battery.c battery: Fix some warnings 2023-04-18 16:38:59 +02:00
up-device-battery.h Add generic UpDeviceBattery base class 2022-06-21 11:15:57 +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: Add up_device_is_registered() 2023-07-05 17:39:19 +02: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 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-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