- Feb 02, 2022
-
-
Benjamin Berg authored
-
- Jan 27, 2022
-
-
Benjamin Berg authored
-
Benjamin Berg authored
Otherwise we flush out the data much more often than needed. With this change, we'll also wait up to 5 seconds even on lower power. Loosing 5s of data shouldn't be too bad, and it may prevent additional disk writes. But, more importantly, we need to deferre writing the data to a later main loop iteration. If we did not do this, then we have an write-amplification scenario where the history is written at least 4 times instead of once. Closes: #150
-
Benjamin Berg authored
The changes from 37b6d4b0 ("linux: Fix Bluetooth tests for python-dbusmock changes") require a not-yet-released dbusmock version. Simply catch the error and fall back to adding the properties in order to be compatible with both old and new dbusmock versions of the bluez service.
-
- Jan 25, 2022
-
-
The algorithm tries to use floating point timestamps. However, the precision of floating point is too low for unix time, causing rounding issues. This can cause extra points to be inserted (or too few) under some conditions, creating a scenario where the test-suite fails randomly. Do this properly by using 64bit integers for the time. The 64bit integer should have enough head-room even for very long histories. Closes: #167
-
- Jan 24, 2022
-
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Prevents a spurious warning: "did not recognise USB path /sys/devices/platform/USBC000:00/power_supply/ucsi-source-psy-USBC000:001, please report" This does not actually change any functionality, as the heuristic for the attribute "online" in up_device_supply_coldplug() would have matches id, too. Fixes #148
-
The inhibitor lock should also be released when a critical action timeout is cancelled, to avoid leaking the lock.
-
- Jan 23, 2022
-
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
Making sure to pass GCancellable and GError arguments.
-
- Jan 21, 2022
-
-
Bastien Nocera authored
-
Bastien Nocera authored
Closes: #121
-
- Jan 18, 2022
-
-
Bastien Nocera authored
When the battery level is refreshed on a fake UPS: (upowerd:320760): UPower-Linux-WARNING **: 12:59:26.205: incomplete read (0<8)
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
-
- Nov 02, 2021
-
-
Bastien Nocera authored
In the case where the kernel returns "0" as the cycle_count, we need to assume this also means that the number of cycles is unknown.
-
- Sep 17, 2021
-
-
Bastien Nocera authored
-
- Sep 13, 2021
-
-
Bastien Nocera authored
-
Bastien Nocera authored
Closes: #152
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
When libplist-2.0 isn't available, fallback to requiring libplist 1.x to build the iDevice support.
-
- Sep 11, 2021
-
-
Ian Douglas Scott authored
-
- Sep 07, 2021
-
-
Bastien Nocera authored
src/linux/up-device-supply.c: In function ‘up_device_supply_refresh_line_power’: src/linux/up-device-supply.c:89:22: warning: unused variable ‘native_path’ [-Wunused-variable] 89 | const gchar *native_path; | ^~~~~~~~~~~
-
Bastien Nocera authored
We always have a config.h now, and don't rely on autotools setting this cflags for us to know it.
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
The Linux integration tests were skipped since we started installing python-dbusmock by hand, which meant that package dependencies like python3-gobject were never installed, and the whole test would be skipped. Fixes: 3acbedca
-
Bastien Nocera authored
We need a higher than default timeout as the test_critical_action_is_taken_repeatedly test takes at least 2 suspend cycles and those take at least UP_DAEMON_ACTION_DELAY (20 seconds).
-
Bastien Nocera authored
They're not needed and might not be available when we're trying to list the included tests.
-
Bastien Nocera authored
-
Bastien Nocera authored
The daemon sources and libupower-glib were built without their historic log domains which meant some debug messages did not appear when running upowerd in verbose mode. This fixes the test_no_poll_batteries test.
-
Bastien Nocera authored
Parse the junit results and check whether there are any skipped tests.
-
Bastien Nocera authored
In case we want to read them even if successful (or skipped).
-
Bastien Nocera authored
It changed when we switched to meson.
-