upower/src/linux
Martin Pitt bd1e4698f4 linux: Adjust test_bluetooth_le_device for dbusmock 0.30.1
dbusmock 0.30.1 changed the BlueZ template to set the default "Class"
property to `MOCK_PHONE_CLASS` right away instead of in PairDevice() [1].

test_bluetooth_le_device() relied on the previous implicit default of a
"0" Class value. Set this explicitly to expect a "generic" device. This
makes the test work with old and current dbusmock versions.

https://bugs.debian.org/1059467

[1] https://github.com/martinpitt/python-dbusmock/pull/192
2023-12-28 21:13:15 +01:00
..
tests linux: Add headset hotplug test 2023-07-03 16:07:46 +02:00
integration-test.py linux: Adjust test_bluetooth_le_device for dbusmock 0.30.1 2023-12-28 21:13:15 +01:00
meson.build all: Remove Lid handling 2023-07-06 11:09:42 +02:00
output_checker.py linux: Use OutputChecker to inspect daemon log 2022-05-10 11:06:18 +02:00
README.debugging linux: Add a README with a couple of debugging commands 2018-04-18 16:34:42 +02:00
unittest_inspector.py linux: Split the integration test into individual tests 2021-09-07 11:42:24 +02:00
up-backend.c all: Remove Lid handling 2023-07-06 11:09:42 +02:00
up-device-bluez.c linux: Demote warning to debug 2023-02-27 14:12:39 +01:00
up-device-bluez.h device: Handle device coldplug using GInitable 2022-04-20 14:30:00 +02:00
up-device-hid.c Move battery type decoding into common file 2022-06-07 16:07:03 +02:00
up-device-hid.h device: Handle device coldplug using GInitable 2022-04-20 14:30:00 +02:00
up-device-idevice.c idevice: Simplify setting the model 2022-11-16 16:14:40 +01:00
up-device-idevice.h device: Handle device coldplug using GInitable 2022-04-20 14:30:00 +02:00
up-device-supply-battery.c linux: stop assuming power supply of unknown type as battery 2023-11-09 15:51:14 +07:00
up-device-supply-battery.h linux: Add new UpDeviceSupplyBattery class 2022-06-21 11:16:01 +02:00
up-device-supply.c linux: stop assuming power supply of unknown type as battery 2023-11-09 15:51:14 +07:00
up-device-supply.h linux: Add new UpDeviceSupplyBattery class 2022-06-21 11:16:01 +02:00
up-device-wup.c wup: Use new polling infrastructure 2022-05-10 11:06:18 +02:00
up-device-wup.h device: Handle device coldplug using GInitable 2022-04-20 14:30:00 +02:00
up-enumerator-udev.c linux: Add debug to uevent handler 2023-07-03 16:07:46 +02:00
up-enumerator-udev.h enumerator: Add UpEnumerator class and udev implementation 2022-05-16 15:48:09 +02:00
up-native.c linux: Add support for Bluetooth LE device batteries 2017-11-02 15:37:39 +01: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.