I wanted to dig into issues with power applet when it's not updating state of batteries and found out that "g-properties-changed" is not always appearing on dbus when connecting/disconnecting AC or opening lid. There are two suspicious places where i think engine_emit_changed (in the body of engine_recalculate_state) should be called so added it.
I wanted to dig into issues with power applet when it's not updating state of batteries and found out that "g-properties-changed" is not always appearing on dbus when connecting/disconnecting AC or opening lid. There are two suspicious places where i think
engine_emit_changed
(in the body ofengine_recalculate_state
) should be called so added it.