1. 15 Jan, 2021 1 commit
    • Arjen Hiemstra's avatar
      NetworkManager: Do not remove devices when their active connection changes · e5a35d53
      Arjen Hiemstra authored
      In certain cases, NetworkManager can go on a rampage sending active
      connection change signals in very rapid succession. This results in
      memory usage ballooning because lambda connections can not be unique.
      Rather than destroying and recreating the NetworkManagerDevice objects
      on active connection change, this changes things so that we only remove
      them from the SensorContainer but keep the actual objects around. This
      allows NetworkManagerDevice to track its active connection state,
      removing the need for constant reconnects.
      BUG: 430003
  2. 14 Jan, 2021 1 commit
  3. 07 Jan, 2021 3 commits
  4. 05 Jan, 2021 2 commits
  5. 24 Nov, 2020 1 commit
  6. 20 Nov, 2020 3 commits
    • David Redondo's avatar
      Remove setShortNameFor · 90e18d1d
      David Redondo authored
      We do not anymore use a subsystem which was using this method.
    • David Redondo's avatar
      Add memory plugin · 10f350f5
      David Redondo authored
      Uses mostly the same methods to get the information as the old code.
      On FreeBSD the method to get the swap values is much simpler with just one
      function call.
    • David Redondo's avatar
      Move SysctlSensor to libkstats · fab34478
      David Redondo authored
      It can be useful when a sensor property can be obtained by directly reading from
      sysctl on FreeBSD. Add a conversion function to it. Also add a simple base struct
      so it is possible to store SysctlSensors of different types in a container.
  7. 19 Nov, 2020 17 commits
  8. 11 Nov, 2020 1 commit
    • David Redondo's avatar
      Use last part of udi as fallback for id · 14cdcabd
      David Redondo authored
      It can happen the Solid reports an empty string as serial. Let's just use the
      last part of the udi as id for now if that happens, it looks reasonable enough
      for this. Some exaples:
      udi = '/org/freedesktop/UPower/devices/battery_BAT0'
      udi = '/org/freedesktop/UPower/devices/keyboard_hid_0018o04F3o280Ex0001_battery'
      udi = '/org/freedesktop/UPower/devices/mouse_hidpp_battery_0'
  9. 09 Nov, 2020 1 commit
  10. 02 Nov, 2020 1 commit
  11. 29 Oct, 2020 2 commits
    • David Redondo's avatar
      Do not load multiple versions of the same plugin · fe62329d
      David Redondo authored
      In instantiatePlugins the plugins are ordered according to the configured
      libraries paths of the environment. When we load the plugins we are currently
      doing the opposite of what we want. We load first the plugin from the directory
      with the highest priority, some time later we load the same plugin from a
      folder with a lower priority and then use the containers from this plugin and throw
      the existing containers away!
    • David Redondo's avatar
      Only look for libnl · 6b327866
      David Redondo authored
      We do not need the other ones and I had already removed it on other places of
      this file but overlooked it here.
  12. 23 Oct, 2020 1 commit
  13. 20 Oct, 2020 1 commit
  14. 16 Oct, 2020 1 commit
    • Arjen Hiemstra's avatar
      Divide network speeds by 2 · 8d8dea7a
      Arjen Hiemstra authored
      We update the network speed every 2s to match the daemon update rate.
      However, this means that when calculating the difference between the
      current and the previous, we get twice the amount since we are a
      calculating the difference over 2s. So divide by 2 to get the byte rate
      per second.
  15. 14 Oct, 2020 1 commit
  16. 12 Oct, 2020 3 commits