Commit b1482fb
vins
sysutils/upower: update to 1.90.9
Catch up on the last 3 years of updates.
Packages tested against new version: wmbattery, lxqt-powermanagement
# pkgsrc changes
* Switch to build with meson.
* Requires pkgsrc gettext-tools.
* Optionally enable polkit support.
TODO: fix and test Linux backend after importing wip/libgudev
# upstream changes (since 0.99.13)
## 1.90.9
* Fix unstable OnBattery status (#306 #307)
## 1.90.8
* Fix the incorrect percentage value of a removed battery. (#292) (!246)
* Fix device type for the gaming device. (#296 #295) (!247)
* Determine the battery discharging status when connecting a low-power charger. (#276) (!244)
* Fix memory leak when refreshing battery info. (#305) (!261)
* Fix memory leak when getting device id. (!261)
## 1.90.7
* Find the correct parent id for input devices. (#268 #286)
* Fix race condition in test_sibling_priority_no_overwrite. (!240)
* Show charge-threshold-* status as yes/no. (!242)
* Add zsh-completions for CLI. (!241)
* Fix integration test. Extend the daemon stopping timeout to 10sec (#290)
* Added pre-commit test and fixed code spelling, markdown, and code style issues. (!248)
## 1.90.6
* Fractional battery percentage (!226)
* CI enhancement. (!236)
* Tweak the default battery charging threshold to 75-80. (!234)
* Fix g_object_weak_ref: assertion 'g_atomic_int_get (&object->ref_count) >= 1' failed (#281, !233)
## 1.90.5
* Suspend and Ignore as the CriticalPowerActions (!218 and !218)
* Support for battery charging threshold (!208)
* Tweak the device priority to make sure the device kind joystick
can be correctly shown. (#267)
## 1.90.4
* Update the information for version 1.90.3.
* Resolved high disk and CPU rate. (#256)
* Stop guessing the unknown battery as a power supply.
* Continue to support lid handling.
* Fix org.freedesktop.UPower: EnergyRate is a positive value. (#252)
* Fix uni-test python script. (!205)
## 1.90.3
* Resolved high disk and CPU rate.
* Update glib2 requirement to 2.66.0.
* Stop guessing the unknown battery as a power supply.
* Continue to support lid handling.
* Document fixes and bug fixes.
## 1.90.2
Note that this is the last release of UPower with lid handling. OS components
that rely on the lid status should get it from logind instead. See:
https://www.freedesktop.org/software/systemd/man/org.freedesktop.login1.html
* Fix wireless devices not disappearing from Settings when disconnected
* Require a newer libgudev to avoid bugs related to newline stripping
when reading sysfs attributes
* Add installed-tests files for use with gnome-desktop-testing
* Fix integration test to work with system installed upower binary and
under jhbuild
## 1.90.1
* Detect headsets with kernel batteries such as Logitech and
Steelseries headsets, and make them automatically disappear if
the headset is turned off (if the kernel driver supports the
wireless_status attribute)
* Hide duplicate Logitech Bluetooth devices (Bolt-compatible devices
connected through Bluetooth would show as 2 batteries)
* Hide duplicate Logitech wireless devices when they get connected
through USB as well
* Fix Bluetooth device names not synchronising, and use user-chosen
names when available
* Handle the "present" sysfs attribute changing
* Fix iDevices not appearing
* Fix reading capacity_level with newer libgudev
* Fix OpenBSD backend
## 1.90.0
Note that the version number bump was made to allow bugfixes for older
releases while also making new releases that contain with more in-depth
code changes. The old (soft) API/ABI guarantees are currently unchanged.
Changes:
* Refactor internal battery handling into separate classes
* Guess charging/discharging state based on energy rate (#196)
Bug fixes:
* Fix polling after resume (#198)
* Fix battery state guessing (NetBSD#146)
* Reload history when battery ID changes
* Test fixes
## 0.99.20
Bug fixes:
* Ensure polling is resumed after suspend (#198)
* Bugfixes to state guessing code (NetBSD#146)
* Stability improvements of automated tests
## 0.99.19
Changes:
* Move state guessing into DisplayDevice
* Always use 90% threshold to consider a battery full
* Various test improvements
Bug fixes:
* Fix mice showing up as keyboards (#189)
* Allow unit test inspector to fail (#187)
* Fix test cases when daemon shuts down too slowly (#188)
## 0.99.18
Changes:
* Remove broken wakeup DBus API
* Tag UPS hid devices using hwdb and update list from upstream
* Only permit Refresh method when in debug mode
* Refactor device polling
* Refactor udev device discovery and sibling detection
* Improved testing and CI
* Handle SIGTERM to trigger a clean shutdown
Bug fixes:
* Improve polling of batteries after line-power "online" status change
* Multiple wacom tablet detection fixes
* Fix updates after a BT hid power supply moves in sysfs
* Fix enumeration of "Whats Up!" devices on startup
* Accept USB power supplies without warning
* Allow building without gtk-doc
## 0.99.17
Bug fixes:
* Fix FD handling issues that may cause lid to not be detected
## 0.99.16
Bug fixes:
* Silence unnecessary udev event warnings
* Increase test timeout (NetBSD#171)
* Explicitly link with plist
* Fix UpClient reference leak
* Fix DisplayDevice state on battery hotplug
* Fix critical action to work after it was cancelled (NetBSD#172)
## 0.99.15
Bug fixes:
* Various build fixes
* Update bluetooth device alias when it changes (NetBSD#169)
## 0.99.14
Changes:
* Port build system to meson
* New ChargeCycles D-Bus property (NetBSD#152)
* New async GLib APIs (NetBSD#121)
* lid related functions are now deprecated
* Refresh API is now deprecated
Bug fixes:
* Plenty of test suite fixes
* Fix leak of inhibitor lock (NetBSD#160)
* Recognize USB power supplies (NetBSD#148)
* Fix time compression of data points (NetBSD#167)
* Fix disk write amplification when battery is low (NetBSD#150)1 parent e835464 commit b1482fb
8 files changed
Lines changed: 143 additions & 36 deletions
File tree
- sysutils/upower
- patches
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 14 | + | |
| 15 | + | |
18 | 16 | | |
19 | | - | |
| 17 | + | |
20 | 18 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 19 | + | |
25 | 20 | | |
26 | | - | |
27 | | - | |
| 21 | + | |
28 | 22 | | |
29 | 23 | | |
30 | | - | |
31 | 24 | | |
32 | 25 | | |
33 | 26 | | |
34 | 27 | | |
35 | 28 | | |
36 | 29 | | |
37 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
38 | 54 | | |
39 | 55 | | |
40 | 56 | | |
41 | 57 | | |
42 | 58 | | |
43 | 59 | | |
44 | | - | |
45 | | - | |
46 | 60 | | |
47 | 61 | | |
48 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
49 | 69 | | |
| 70 | + | |
50 | 71 | | |
51 | | - | |
52 | | - | |
| 72 | + | |
53 | 73 | | |
54 | 74 | | |
55 | 75 | | |
| 76 | + | |
56 | 77 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | 10 | | |
13 | | - | |
14 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | | - | |
| 26 | + | |
28 | 27 | | |
29 | 28 | | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
13 | 21 | | |
14 | 22 | | |
15 | 23 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments