1. 12 Feb, 2020 1 commit
    • 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 8 commits
  3. 10 Feb, 2020 4 commits
  4. 07 Feb, 2020 1 commit
  5. 04 Feb, 2020 1 commit
  6. 31 Jan, 2020 1 commit
  7. 30 Jan, 2020 1 commit
  8. 29 Jan, 2020 2 commits
  9. 19 Jan, 2020 3 commits
  10. 15 Jan, 2020 1 commit
  11. 04 Jan, 2020 1 commit
  12. 29 Dec, 2019 10 commits
  13. 28 Dec, 2019 2 commits
  14. 27 Dec, 2019 4 commits