1. 20 Nov, 2020 3 commits
    • David Redondo's avatar
      Add memory plugin · 66321cea
      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.
      66321cea
    • David Redondo's avatar
      Move SysctlSensor to libkstats · 08e9967c
      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.
      08e9967c
    • David Redondo's avatar
      Add an update method to SensorProperty · 6b67279d
      David Redondo authored
      Represents a common function that can be used to update the values of subclasses
      that handle setting their values themselves.
      6b67279d
  2. 19 Nov, 2020 18 commits
  3. 11 Nov, 2020 2 commits
    • Denis Biryukov's avatar
      Add lm-sensors curr support · 3a30493b
      Denis Biryukov authored
      3a30493b
    • David Redondo's avatar
      Use last part of udi as fallback for id · 2771f9bf
      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'
      2771f9bf
  4. 10 Nov, 2020 1 commit
  5. 09 Nov, 2020 1 commit
  6. 07 Nov, 2020 1 commit
  7. 02 Nov, 2020 1 commit
  8. 01 Nov, 2020 1 commit
  9. 29 Oct, 2020 2 commits
    • David Redondo's avatar
      Do not load multiple versions of the same plugin · ee18830a
      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!
      ee18830a
    • David Redondo's avatar
      Only look for libnl · 2abddc2d
      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.
      2abddc2d
  10. 27 Oct, 2020 1 commit
  11. 23 Oct, 2020 1 commit
  12. 22 Oct, 2020 1 commit
  13. 20 Oct, 2020 2 commits
  14. 16 Oct, 2020 1 commit
    • Arjen Hiemstra's avatar
      Divide network speeds by 2 · cf19c92b
      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.
      cf19c92b
  15. 14 Oct, 2020 1 commit
  16. 12 Oct, 2020 3 commits