upower/src/linux
Kate Hsuan 71e473902f linux: integration-test: Handle connecting the low-power charger
Add a scenario for connecting a low-power charger.
1. The AC is online.
2. The battery is discharging.
3. The percentage drops to 2.5%.
4. The warning level will become UP_DEVICE_LEVEL_CRITICAL.

Signed-off-by: Kate Hsuan <hpa@redhat.com>
2025-02-24 06:13:47 +00:00
..
tests linux: Add headset hotplug test 2023-07-03 16:07:46 +02:00
integration-test.py linux: integration-test: Handle connecting the low-power charger 2025-02-24 06:13:47 +00:00
meson.build Revert "all: Remove Lid handling" 2024-01-26 14:57:27 +00:00
output_checker.py Reformat python code style with black 2025-01-08 14:01:34 +08:00
README.debugging linux: Add a README with a couple of debugging commands 2018-04-18 16:34:42 +02:00
unittest_inspector.py Reformat python code style with black 2025-01-08 14:01:34 +08:00
up-backend.c Fix trailing white space and end of file 2025-01-08 14:01:34 +08:00
up-device-bluez.c linux: Demote warning to debug 2023-02-27 14:12:39 +01:00
up-device-bluez.h Fix trailing white space and end of file 2025-01-08 14:01:34 +08:00
up-device-hid.c Fix trailing white space and end of file 2025-01-08 14:01:34 +08:00
up-device-hid.h Fix trailing white space and end of file 2025-01-08 14:01:34 +08:00
up-device-idevice.c idevice: Simplify setting the model 2022-11-16 16:14:40 +01:00
up-device-idevice.h Fix trailing white space and end of file 2025-01-08 14:01:34 +08:00
up-device-supply-battery.c linux: up-device-supply-battery: reset the status to discharging when current_now is negative 2025-02-24 06:13:47 +00:00
up-device-supply-battery.h linux: Add new UpDeviceSupplyBattery class 2022-06-21 11:16:01 +02:00
up-device-supply.c linux: up-device-supply: Update the model name after changing the device type 2025-02-08 07:58:03 +00:00
up-device-supply.h Fix trailing white space and end of file 2025-01-08 14:01:34 +08:00
up-device-wup.c Fix spelling issues with codespell 2025-01-08 14:01:34 +08:00
up-device-wup.h Fix trailing white space and end of file 2025-01-08 14:01:34 +08:00
up-enumerator-udev.c Fix trailing white space and end of file 2025-01-08 14:01:34 +08:00
up-enumerator-udev.h enumerator: Add UpEnumerator class and udev implementation 2022-05-16 15:48:09 +02:00
up-input.c Revert "all: Remove Lid handling" 2024-01-26 14:57:27 +00:00
up-input.h Fix trailing white space and end of file 2025-01-08 14:01:34 +08:00
up-native.c Fix trailing white space and end of file 2025-01-08 14:01:34 +08:00

===============
Debugging
===============

When filing new bugs, please include information about the
output of "upower -d", "/usr/libexec/upowerd -v -r", and:
find  /sys/class/power_supply/hidpp_battery_1/ -type f -exec echo {} \; -exec cat {} \; -exec echo \;
as appropriate.