1. 12 Feb, 2020 3 commits
    • Marc Cornellà's avatar
      battery: merge branch 'refactor-battery-plugin' · ebaccba6
      Marc Cornellà authored
      Closes #4726
      Closes #4774
      Closes #8275
      ebaccba6
    • GregoireW's avatar
      Remove invalid batteries (#8275) · 15a03744
      GregoireW authored
      15a03744
    • Bruce Weirdan's avatar
      Report only active battery (#4726) · b8b87629
      Bruce Weirdan authored
      On a system with multiple batteries (like thinkpads) report percentage
      and time remaining only for the active battery (the one being
      discharged).
      
      Ideally we should report all batteries, but acpi only shows time remaining
      for the active battery. Also callers of these functions expect a single
      return value. This is still better than reporting 596% remaining (like it
      did on my laptop).
      
      For the reference, the output of acpi command with multiple batteries looks
      like this:
      
          Battery 0: Unknown, 5%
          Battery 1: Discharging, 86%, 03:14:04 remaining
      b8b87629
  2. 11 Feb, 2020 10 commits
  3. 10 Feb, 2020 6 commits
  4. 07 Feb, 2020 1 commit
  5. 04 Feb, 2020 4 commits
  6. 31 Jan, 2020 1 commit
  7. 30 Jan, 2020 1 commit
  8. 29 Jan, 2020 2 commits
  9. 28 Jan, 2020 1 commit
  10. 19 Jan, 2020 4 commits
  11. 16 Jan, 2020 1 commit
  12. 15 Jan, 2020 1 commit
  13. 04 Jan, 2020 1 commit
  14. 01 Jan, 2020 1 commit
  15. 29 Dec, 2019 3 commits