Skip to content

plugins/battery: add battery charge info to the update signal

Jason Nader requested to merge edkytitnedi/kdeconnect-kde:batsignal into master

Prior to f90d6a01, changes to isCharging or charge would result in the signals stateChanged and chargeChanged, which would contain the new values in the message field. This is useful when monitoring the values since you do not have to manually make a call to get the new values after seeing a signal.

After f90d6a01 the D-Bus structure for the battery plugin was changed and now the only signal sent is refreshed, which does not contain the new values.

This PR adds the info back to the signal.

See also: https://github.com/greshake/i3status-rust/issues/974

Merge request reports

Loading