1. 07 Mar, 2015 1 commit
  2. 06 Mar, 2015 1 commit
  3. 05 Mar, 2015 2 commits
  4. 28 Feb, 2015 1 commit
  5. 25 Feb, 2015 2 commits
  6. 15 Feb, 2015 1 commit
  7. 13 Feb, 2015 1 commit
  8. 23 Jan, 2015 1 commit
  9. 19 Jan, 2015 1 commit
  10. 13 Jan, 2015 1 commit
    • Kai Uwe Broulik's avatar
      Add Battery energyFull and energyFullDesign · 03ffeddd
      Kai Uwe Broulik authored
      This allows to query the energy (in Wh) the battery can hold when full and
      what it was supposed to hold. This allows us to properly calculate cumulative
      energy based on exact Wh values rather than deducing it from the inaccurate capacity.
      
      REVIEW: 121992
      03ffeddd
  11. 10 Jan, 2015 1 commit
  12. 08 Jan, 2015 1 commit
  13. 01 Jan, 2015 1 commit
  14. 31 Dec, 2014 1 commit
  15. 17 Dec, 2014 1 commit
  16. 12 Dec, 2014 1 commit
    • David Rosca's avatar
      Power: Add aboutToSuspend signal · daa238cd
      David Rosca authored
      Adds a new signal Power::aboutToSuspend().
      This signal is emitted right before the system is going to suspend.
      
      Also adds output for aboutToSuspend() and resumeFromSuspend() signals
      in "solid-power listen" command.
      
      REVIEW: 121179
      daa238cd
  17. 02 Dec, 2014 1 commit
  18. 25 Nov, 2014 1 commit
  19. 24 Nov, 2014 1 commit
  20. 23 Nov, 2014 2 commits
  21. 16 Nov, 2014 1 commit
  22. 09 Nov, 2014 1 commit
  23. 07 Nov, 2014 1 commit
  24. 05 Nov, 2014 1 commit
  25. 31 Oct, 2014 1 commit
  26. 23 Oct, 2014 1 commit
  27. 20 Oct, 2014 1 commit
  28. 18 Oct, 2014 1 commit
  29. 16 Oct, 2014 2 commits
  30. 15 Oct, 2014 3 commits
    • Àlex Fiestas's avatar
      Add LogindInhibitionArgument class · 4830fb49
      Àlex Fiestas authored
      The single responsability of this class is to create arguments valid for
      logind Inhibit call.
      
      It will tackle some peculiarities of logind like for example not being
      able to inhibit only reboot o poweroff.
      4830fb49
    • Àlex Fiestas's avatar
      Adjust Power::States to reality since we are about to implement them · d856934b
      Àlex Fiestas authored
      Until now the states were kinda inherited from the old solid code and we
      stpend no time thinking wether they make any sense or not. Now that we
      are about to implement them we need to make more sense.
      
      Current states:
      Sleep: Sets the device to the preferred sleep method (s2ram, s2disk..)
      	It also allows to inhibit any sleep (s2ram, s2disk, hybrid...)
      Screen: A set of jobs exits to modify the state of the screen
      	(brightnessChange, PowerOffScreen, etc...)
      	It allow to inhibit any actions on the screen (brightness,
              dimming, powering it off...)
      Reboot: Can be used to reboot the device
      	It also can be used to inhibit reboot
      PowerOff: Can be used to poweroff the device
      	It also can be used to inhibit poweroff
      d856934b
    • Àlex Fiestas's avatar
      Do not depend on backend job to return the value · 59d359b4
      Àlex Fiestas authored
      It might happen that the backend job is gone (since it will auto delete
      after calling emitResult) but the frontend job is still alive. If that
      happens and somebody calls isPLugged() we will be asking info from a
      deleted pointer.
      
      This patch adds a copy of the result (a bool) plus a isBackendFinished
      status to know when the backend job has finished.
      59d359b4
  31. 03 Oct, 2014 1 commit
  32. 29 Sep, 2014 2 commits
  33. 25 Sep, 2014 1 commit
    • Àlex Fiestas's avatar
      Implement testAddInhibitionJob and freedesktop code · 25657e31
      Àlex Fiestas authored
      We have created a fakeLogind dbus daemon to do a component test of
      InhibitionJob which emits a "newInhibition" signal when the dbus method
      gets called.
      
      Also, there is code prepared to return proper file descriptors and to
      test the Inhibition object further, but that part is still not done.
      25657e31