elementary / wingpanel-indicator-power

Wingpanel Power Indicator
GNU General Public License v3.0
24 stars 15 forks source link

Future: Don't call Refresh() on UPower.Device #238

Closed GranPC closed 1 year ago

GranPC commented 1 year ago

This method no longer works as of UPower 0.99.17, and simply spams the system log with warnings. It is apparently not necessary to call it.

I'm not sure whether UPower 0.99.17 will ever hit Ubuntu 22.04, but it is already part of Ubuntu 22.10, and is causing this error. Merging this now shouldn't cause any issues. (Works on my machine, as they say)

https://gitlab.freedesktop.org/upower/upower/-/commit/d0ebbe32bb5cec06335a7bd0f11f8550deaec16e