1. 23 Oct, 2020 2 commits
  2. 22 Oct, 2020 1 commit
  3. 20 Oct, 2020 1 commit
  4. 17 Oct, 2020 1 commit
  5. 14 Oct, 2020 1 commit
    • Kai Uwe Broulik's avatar
      Remove XRandRBrightness · 476d6afc
      Kai Uwe Broulik authored
      We have animated brightness changes on sysfs these days. Most drivers don't support
      XRandR brightness these days and it naturally doesn't work on Wayland.
      476d6afc
  6. 12 Oct, 2020 1 commit
  7. 11 Oct, 2020 1 commit
  8. 09 Oct, 2020 1 commit
  9. 08 Oct, 2020 1 commit
  10. 06 Oct, 2020 1 commit
  11. 05 Oct, 2020 1 commit
  12. 01 Oct, 2020 1 commit
  13. 28 Sep, 2020 1 commit
  14. 27 Sep, 2020 1 commit
  15. 24 Sep, 2020 2 commits
  16. 21 Sep, 2020 2 commits
  17. 20 Sep, 2020 1 commit
  18. 19 Sep, 2020 1 commit
  19. 18 Sep, 2020 1 commit
  20. 17 Sep, 2020 5 commits
  21. 16 Sep, 2020 1 commit
  22. 14 Sep, 2020 1 commit
  23. 12 Sep, 2020 1 commit
  24. 11 Sep, 2020 1 commit
  25. 10 Sep, 2020 1 commit
  26. 09 Sep, 2020 1 commit
    • Kai Uwe Broulik's avatar
      Add setting for charge threshold · f6a1362e
      Kai Uwe Broulik authored
      On supported hardware, when using the device mostly on line power, this allows to stop charging
      the battery when it reaches a certain level as to not leave the battery fully charge for extended
      periods of time. It also allows to configure below which level the battery will then be charged again.
      
      Unfortunately, UPower doesn't seem to be aware of this, so the device will just sit around the
      configured percentage, still claiming "charging".
      
      The battery stop charging threshold is exposed on DBus so a hint coul be displayed in Battery
      monitor when a limit is configured.
      f6a1362e
  27. 07 Sep, 2020 1 commit
  28. 13 Aug, 2020 1 commit
  29. 12 Aug, 2020 4 commits
    • Bhushan Shah's avatar
      d7f39292
    • Bhushan Shah's avatar
      [core] send the dbus error if wakeup is invalid · c14ff817
      Bhushan Shah authored
      This may happen when wrong cookie id is passed to clearWakeup.
      c14ff817
    • Bhushan Shah's avatar
      cmake: set the CAP_WAKE_ALARM capability on the powerdevil · 54a85ddf
      Bhushan Shah authored
      timerfd_create with CLOCK_REALTIME_ALARM which can wake system from
      suspend/deep sleep needs executable to have a CAP_WAKE_ALARM. However
      dependency is not marked as the required since if setting
      CLOCK_REALTIME_ALARM fails, we fallback to CLOCK_REALTIME which can
      allow setting alarms but not which can wake system from suspend.
      
      See also: man 2 timerfd_create
      54a85ddf
    • Bhushan Shah's avatar
      [core] introduce the method to wake system up · bf144124
      Bhushan Shah authored
      When using aggressive power management on devices like mobile or laptop
      devices, There's generally one objective, saving as much as power as
      possible. To do this on some devices we keep system in deep
      sleep/suspend for most of the time.
      
      This means userspace will be frozen as well. For most part this is fine,
      but for services like push notification helper, or update manager or for
      example alarm application, this is not acceptable and it would mean that
      we need to wake system at some point.
      
      This helpers on org.kde.Solid.PowerManagement are supposed to help with
      that.
      
      You have two possibilities,
      
      - Wake system instantly: this is useful when screen is turned off, but
        device is not in sleep, and you want to show e.g notifications on
        screen.
      - Wake system in future: You want to schedule alarm or for example
        wakeup 15 mins later to check for notifications.
      
      Once system is awake, powerdevil will ping dbus service of your choice
      and call the method "wakeupCallback". By default this wakeup will be
      silent as-in the DPMS and screen backlight will stay off, if you wish to
      wake system fully, you can call "wakeup" method to turn system on fully.
      
      Related: #2
      bf144124
  30. 08 Aug, 2020 1 commit