1. 30 Mar, 2020 2 commits
  2. 25 Feb, 2020 2 commits
  3. 12 Feb, 2020 2 commits
    • 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
  4. 11 Feb, 2020 3 commits
  5. 09 Oct, 2019 1 commit
  6. 23 Feb, 2017 1 commit
  7. 10 Oct, 2016 1 commit
  8. 15 Sep, 2016 1 commit
  9. 23 Jul, 2014 1 commit
  10. 18 Mar, 2014 1 commit
  11. 02 Mar, 2014 1 commit
  12. 17 Feb, 2014 1 commit
    • Chris Wiggins's avatar
      Update battery plugin to show calculating - OSX · fdd864bd
      Chris Wiggins authored
      Instantly after removing the charger, I have found that the "AvgTimeToEmpty" value can swing to rediculous values. Apple's current claim is that the max battery life is 12 hours, so any value larger than this is considered a "time is being calculated" value.
      fdd864bd
  13. 18 Jan, 2014 1 commit
  14. 05 Nov, 2013 1 commit
  15. 29 Apr, 2013 1 commit
  16. 21 Apr, 2013 1 commit
  17. 02 Mar, 2013 1 commit
  18. 02 Dec, 2012 2 commits
  19. 20 Oct, 2011 1 commit